NAFNet
NAFNet copied to clipboard
Unable to generate the log file.
When trying to run the train.py file, I'm unable to generate the .log file. When I tried to debug looks like logger.hasHandlers is always "true", but when I tried to change the code by giving a condition(so that it ignore the "if condition in get_root_logger" for first time and creates the handler), then I was able to generate the log file but the logger is not writing into the log file. Could you please look into this issue please, any suggestion is apprecitated.
Thanks, Mohan.
I met the same question, please check this link https://github.com/XPixelGroup/BasicSR/blob/479ec97e8a/basicsr/utils/logger.py with the repo code, just replace it by the link's part
我遇到了同样的问题,请用 repo 代码检查此链接 https://github.com/XPixelGroup/BasicSR/blob/479ec97e8a/basicsr/utils/logger.py,只需将其替换为链接的部分即可
File "/mnt/fys/NAFNet-main/basicsr/train.py", line 270, in main model.validation(val_loader, current_iter, tb_logger, TypeError: validation() takes from 4 to 5 positional arguments but 7 were given
do you know hou to solve it