You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,这是一个非常棒的工作。但我按照requirements.txt在python=3.8的环境中安装并执行训练后,出现以下错误:
Traceback (most recent call last):
File "basicsr/train.py", line 215, in
train_pipeline(root_path)
File "basicsr/train.py", line 117, in train_pipeline
tb_logger = init_tb_loggers(opt)
File "basicsr/train.py", line 25, in init_tb_loggers
tb_logger = init_tb_logger(log_dir=osp.join(opt['root_path'], 'tb_logger', opt['name']))
File "/home/student01/RGT-main/basicsr/utils/dist_util.py", line 80, in wrapper
return func(*args, **kwargs)
File "/home/student01/RGT-main/basicsr/utils/logger.py", line 120, in init_tb_logger
from torch.utils.tensorboard import SummaryWriter
File "/home/student01/anaconda3/envs/RGT/lib/python3.8/site-packages/torch/utils/tensorboard/init.py", line 4, in
LooseVersion = distutils.version.LooseVersion
AttributeError: module 'distutils' has no attribute 'version'
您能帮看一下是哪里的问题吗?非常感谢!
The text was updated successfully, but these errors were encountered:
您好,这是一个非常棒的工作。但我按照requirements.txt在python=3.8的环境中安装并执行训练后,出现以下错误:
Traceback (most recent call last):
File "basicsr/train.py", line 215, in
train_pipeline(root_path)
File "basicsr/train.py", line 117, in train_pipeline
tb_logger = init_tb_loggers(opt)
File "basicsr/train.py", line 25, in init_tb_loggers
tb_logger = init_tb_logger(log_dir=osp.join(opt['root_path'], 'tb_logger', opt['name']))
File "/home/student01/RGT-main/basicsr/utils/dist_util.py", line 80, in wrapper
return func(*args, **kwargs)
File "/home/student01/RGT-main/basicsr/utils/logger.py", line 120, in init_tb_logger
from torch.utils.tensorboard import SummaryWriter
File "/home/student01/anaconda3/envs/RGT/lib/python3.8/site-packages/torch/utils/tensorboard/init.py", line 4, in
LooseVersion = distutils.version.LooseVersion
AttributeError: module 'distutils' has no attribute 'version'
您能帮看一下是哪里的问题吗?非常感谢!
The text was updated successfully, but these errors were encountered: