daasd commited on
Commit
be38fc9
·
verified ·
1 Parent(s): ce672e3

Update main2.py

Browse files
Files changed (1) hide show
  1. main2.py +3 -2
main2.py CHANGED
@@ -195,8 +195,9 @@ def pip_download():
195
  start_time = time.time()
196
  subprocess.run("pip install pip==24.0.0", shell=True)
197
  subprocess.run("pip install wandb==0.15.12", shell=True)
198
- subprocess.run("pip install xformers==0.0.29.post1 --index-url https://download.pytorch.org/whl/cu121", shell=True)
199
- # subprocess.run("pip install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0 torchtext==0.16.0+cpu torchdata==0.7.0 --index-url https://download.pytorch.org/whl/cu121", shell=True)
 
200
 
201
  subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
202
  for root, dirs, files in os.walk(f"{params['dir']}/extensions"):
 
195
  start_time = time.time()
196
  subprocess.run("pip install pip==24.0.0", shell=True)
197
  subprocess.run("pip install wandb==0.15.12", shell=True)
198
+ subprocess.run("pip install basicsr==1.4.2", shell=True)
199
+ subprocess.run("pip install xformers==0.0.23.post1 --index-url https://download.pytorch.org/whl/cu121", shell=True)
200
+ subprocess.run("pip install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0 torchtext==0.16.0+cpu torchdata==0.7.0 --index-url https://download.pytorch.org/whl/cu121", shell=True)
201
 
202
  subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
203
  for root, dirs, files in os.walk(f"{params['dir']}/extensions"):