Zhibinhong
commited on
Commit
•
212790e
1
Parent(s):
644fc6c
Update visual_chatgpt.py
Browse files- visual_chatgpt.py +1 -1
visual_chatgpt.py
CHANGED
@@ -807,7 +807,7 @@ class Segmenting:
|
|
807 |
def download_parameters(self):
|
808 |
url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
809 |
if not os.path.exists(self.model_checkpoint_path):
|
810 |
-
wget.download(url,out="
|
811 |
|
812 |
def show_mask(self, mask, ax, random_color=False):
|
813 |
if random_color:
|
|
|
807 |
def download_parameters(self):
|
808 |
url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
809 |
if not os.path.exists(self.model_checkpoint_path):
|
810 |
+
wget.download(url,out="repository/"+self.model_checkpoint_path)
|
811 |
|
812 |
def show_mask(self, mask, ax, random_color=False):
|
813 |
if random_color:
|