Open YuanXiaoYaoZiZai opened 5 months ago
My computer (nvida 4090 cuda11.6,cudnn8.9.7.29)
Some missing dependencies :
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.6 -c pytorch -c nvidia pip install filelock pip install spacy pip install segment_anything pip install openai==0.28.1 pip install ipdb pip install pillow==9.5.0 pip install timm==0.6.7 pip install git+https://github.com/facebookresearch/segment-anything.git
modify run.py line:78 seed = np.random.randint(0, high=2 ** 32 - 2, dtype=np.int64) modify util/utils.py line:248 with open(yaml_path, 'r',encoding="UTF-8") as file: modify run.py line:69 with open(Path(model.run_dir) / "config.yaml", "w",encoding="UTF-8") as f: modify run.py line:199 with open(save_root / 'regenerate_info.json', 'w',encoding='UTF-8') as json_file: modify models/models.py line:575 self.run_dir = run_dir_root / f"Interp-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':', '_')[:40]}" modify models/models.py line:418 self.run_dir = run_dir_root / f"Gen-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':','_')[:40]}"
seed = np.random.randint(0, high=2 ** 32 - 2, dtype=np.int64)
with open(yaml_path, 'r',encoding="UTF-8") as file:
with open(Path(model.run_dir) / "config.yaml", "w",encoding="UTF-8") as f:
with open(save_root / 'regenerate_info.json', 'w',encoding='UTF-8') as json_file:
self.run_dir = run_dir_root / f"Interp-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':', '_')[:40]}"
self.run_dir = run_dir_root / f"Gen-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':','_')[:40]}"
Thanks for sharing that! Please let me know how you installed the nvidiacub and pytorch3d on Windows if you still remember that. I really appreciate any help you can provide.
My computer (nvida 4090 cuda11.6,cudnn8.9.7.29)
Some missing dependencies :
modify run.py line:78
seed = np.random.randint(0, high=2 ** 32 - 2, dtype=np.int64)
modify util/utils.py line:248with open(yaml_path, 'r',encoding="UTF-8") as file:
modify run.py line:69with open(Path(model.run_dir) / "config.yaml", "w",encoding="UTF-8") as f:
modify run.py line:199with open(save_root / 'regenerate_info.json', 'w',encoding='UTF-8') as json_file:
modify models/models.py line:575self.run_dir = run_dir_root / f"Interp-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':', '_')[:40]}"
modify models/models.py line:418self.run_dir = run_dir_root / f"Gen-{dt_string}_{inpainting_prompt.replace(' ', '_').replace(':','_')[:40]}"