Closed git-guocc closed 3 months ago
额,是哪个py文件报的错?在AdaRevD.py里应该是basicsr.models.archs.UFPNet.UFPNet_code_uncertainty_arch。这个项目我没怎么整理就上传了,可能还有些bug。。。
cd AdaRevD
./train_4gpu.sh Motion_Deblurring/Options/GoPro-AdaRevIDB-pretrain-4gpu.yml就是默认执行这个,
![image](https://github.com/INVOKERer/AdaRevD/assets/81276451/65f33b42-d96d-40b1-96eb-b203491866f3这个位置有问题
这个是整个错误:
(AdaRevD) ➜ AdaRevD git:(master) ✗ ./train_4gpu.sh Motion_Deblurring/Options/GoPro-AdaRevIDB-pretrain-4gpu.yml
/home/guocc/envs/anaconda3/envs/AdaRevD/lib/python3.8/site-packages/torch/distributed/launch.py:178: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank
argument to be set, please
change it to read from os.environ['LOCAL_RANK']
instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn( WARNING:torch.distributed.run:
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
哦,我之前把basicsr.models.archs.UFPNet_code_uncertainty_arch,没想到训练会有影响,把basicsr.models.archs.UFPNet.UFPNet_code_uncertainty_arch.py复制一份到basicsr.models.archs.UFPNet_code_uncertainty_arch.py应该就行了。
对的
作者,您好!能讲一下这个数据怎么来的吗?我看有py文件有下载数据的,然后,这个_crops是怎么得到的,也是有py执行的吗?可以方便告知一下吗?感谢! dataroot_gt: /data/mxt_data/GoPro/train/target_crops dataroot_lq: /data/mxt_data/GoPro/train/input_crops
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年5月25日(星期六) 晚上6:26 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [INVOKERer/AdaRevD] 环境问题 (Issue #3)
哦,我之前把basicsr.models.archs.UFPNet_code_uncertainty_arch,没想到训练会有影响,把basicsr.models.archs.UFPNet.UFPNet_code_uncertainty_arch.py复制一份到basicsr.models.archs.UFPNet_code_uncertainty_arch.py应该就行了。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
basicsr/models/archs/UFPNet_code_uncertainty_arch.py,作者,您好!你这个文件是不是放错文件夹了,我直接默认运行会报错ModuleNotFoundErrorModuleNotFoundError: : No module named 'basicsr.models.archs.UFPNet_code_uncertainty_arch'No module named 'basicsr.models.archs.UFPNet_code_uncertainty_arch'