Commit
•
32c182c
1
Parent(s):
8d7f875
Update visual_chatgpt.py
Browse files- visual_chatgpt.py +1 -2
visual_chatgpt.py
CHANGED
@@ -809,8 +809,7 @@ class Segmenting:
|
|
809 |
print("getcwd",os.getcwd())
|
810 |
REPO_DIR = os.path.dirname(__file__)
|
811 |
path=os.path.join(REPO_DIR, "checkpoints/sam")
|
812 |
-
print("ls-R",os.system("ls -R /repository/checkpoints"))
|
813 |
-
# print("find",os.system("find ./ -name 'handler.py'"))
|
814 |
print("finddir",os.system("find /repository -type d -iname 'checkpoints'"))
|
815 |
url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
816 |
if not os.path.exists(path):
|
|
|
809 |
print("getcwd",os.getcwd())
|
810 |
REPO_DIR = os.path.dirname(__file__)
|
811 |
path=os.path.join(REPO_DIR, "checkpoints/sam")
|
812 |
+
print("ls-R",os.system("ls -R /repository/checkpoints"),path)
|
|
|
813 |
print("finddir",os.system("find /repository -type d -iname 'checkpoints'"))
|
814 |
url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
815 |
if not os.path.exists(path):
|