jinlong17 / LightDiff

About [CVPR 2024] The official implementation of paper " Light the Night: A Multi-Condition Diffusion Framework for Unpaired Low-Light Enhancement in Autonomous Driving"
Apache License 2.0
55 stars 0 forks source link

请帮忙看看这个问题吧!您好像没有在文件中附给ckpt文件 #5

Closed Lincoln20030413 closed 3 months ago

Lincoln20030413 commented 3 months ago

感谢您的工作!请帮忙看看这个问题吧!您好像没有在文件中附给ckpt文件 Traceback (most recent call last): File "/opt/data/private/LightDiff-main/train.py", line 39, in model.load_state_dict(load_state_dict(resume_path, location='cpu'), strict=False) File "/opt/data/private/LightDiff-main/cldm/model.py", line 18, in load_state_dict state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location))) File "/root/miniconda3/envs/lightdiff/lib/python3.8/site-packages/torch/serialization.py", line 594, in load with _open_file_like(f, 'rb') as opened_file: File "/root/miniconda3/envs/lightdiff/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "/root/miniconda3/envs/lightdiff/lib/python3.8/site-packages/torch/serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './your checkpoints'