Closed Lz-2019317 closed 1 year ago
报错如下: ModuleNotFoundError: No module named 'basicsr' 这个basicsr是项目文件夹,导入为啥会报错啊?
ModuleNotFoundError:
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 28610) of binary: /home/xtzg/anaconda3/envs/pytorch1.1
我的设置如下 train.sh中设置为: python -m torch.distributed.run --nproc_per_node=1 --master_port=4321 basicsr/train.py -opt $CONFIG --launcher pytorch yaml配置文件中也修改shuffle为false # data loader use_shuffle: false # true num_worker_per_gpu: 0 # 8 batch_size_per_gpu: 1 # 8
python -m torch.distributed.run --nproc_per_node=1 --master_port=4321 basicsr/train.py -opt $CONFIG --launcher pytorch
# data loader use_shuffle: false # true num_worker_per_gpu: 0 # 8 batch_size_per_gpu: 1 # 8
你好,单卡单机跑起来了吗
Just drag the train.py out of basicsr if this problem happens
报错如下:
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
我的设置如下 train.sh中设置为:
python -m torch.distributed.run --nproc_per_node=1 --master_port=4321 basicsr/train.py -opt $CONFIG --launcher pytorch
yaml配置文件中也修改shuffle为false# data loader use_shuffle: false # true num_worker_per_gpu: 0 # 8 batch_size_per_gpu: 1 # 8