Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to validate model results #10

Open
home56200 opened this issue Aug 12, 2022 · 1 comment
Open

Unable to validate model results #10

home56200 opened this issue Aug 12, 2022 · 1 comment

Comments

@home56200
Copy link

home56200 commented Aug 12, 2022

The model has been trained from the training file, but it cannot be verified in the test.py( \basicsr\ ). The error in the picture below will appear. How can I solve it ??? thank you

image

" This is the wrong part " (psnr_ssim.py)
image

@Lz-2019317
Copy link

报错如下:
ModuleNotFoundError: No module named 'basicsr'
这个basicsr是项目文件夹,导入为沙会报错阿?
报错如下:
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 28610) of binary: /home/xtzg/anaconda3/envs/pytorch1.1
我的设置:
yaml配置文件中也修改shuffle为false
# data loader use_shuffle: false # true num_worker_per_gpu: 0 # 8 batch_size_per_gpu: 1 # 8
train.sh中设置为:
python -m torch.distributed.run --nproc_per_node=1 --master_port=4321 basicsr/train.py -opt $CONFIG --launcher pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants