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
TypeError: expected str, bytes or os.PathLike object, not bool #83
Comments
Hi, it seems a model path problem. Can you provide your config file used in training? |
general settingsname: ir-sde sde: degradation: # for some synthetic dataset that only have GTs for denoisingsigma: 25 for super-resolutionscale: 4 datasetsdatasets:
val: network structuresnetwork_G: pathpath: training settings: learning rate scheme, losstrain: criterionis_weighted: False manual_seed: 0 loggerlogger: |
Hi, if you want to continue the training with the existing checkpoint please add the checkpoint path to |
谢谢,我试一下 |
Traceback (most recent call last):
File "/root/autodl-fs/image-restoration-sde-main/codes/config/deblurring/train.py", line 319, in
main()
File "/root/autodl-fs/image-restoration-sde-main/codes/config/deblurring/train.py", line 52, in main
opt = option.parse(args.opt, is_train=True)
File "/root/autodl-fs/image-restoration-sde-main/codes/config/deblurring/options.py", line 62, in parse
opt["path"][key] = osp.expanduser(path)
File "/root/miniconda3/envs/irsde/lib/python3.10/posixpath.py", line 231, in expanduser
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not bool
The text was updated successfully, but these errors were encountered: