stevengrove
commited on
Commit
•
ae93021
1
Parent(s):
77aea08
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
import os
|
2 |
os.system("pip uninstall -y mmcv-full")
|
3 |
os.system("mim install 'mmengine>=0.6.0'")
|
4 |
-
os.system("
|
5 |
os.system("mim install 'mmdet>=3.0.0,<4.0.0'")
|
6 |
os.system("mim install 'mmyolo'")
|
7 |
os.system("pip install -e .")
|
|
|
8 |
|
9 |
import argparse
|
10 |
import os.path as osp
|
|
|
1 |
import os
|
2 |
os.system("pip uninstall -y mmcv-full")
|
3 |
os.system("mim install 'mmengine>=0.6.0'")
|
4 |
+
os.system("pip install mmcv==2.0.1 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.0/index.html")
|
5 |
os.system("mim install 'mmdet>=3.0.0,<4.0.0'")
|
6 |
os.system("mim install 'mmyolo'")
|
7 |
os.system("pip install -e .")
|
8 |
+
os.system("python tools/demo.py configs/pretrain/yolo_world_l_t2i_bn_2e-4_100e_4x8gpus_obj365v1_goldg_train_lvis_minival.py yolow-v8_l_clipv2_frozen_t2iv2_bn_o365_goldg_pretrain.pth")
|
9 |
|
10 |
import argparse
|
11 |
import os.path as osp
|