Skip to content

no results #23

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

Open
zhangjy328 opened this issue Jan 27, 2025 · 2 comments
Open

no results #23

zhangjy328 opened this issue Jan 27, 2025 · 2 comments

Comments

@zhangjy328
Copy link

I successfully installed the environment, ran the infer_unpaired.py file, and encountered no errors, but I didn't get the test results either.I can't find the results folder.

(glare) zjy@DESKTOP-ORSLCSS:~/GLARE-main$ python code/infer_unpaired.py OrderedDict([('manual_seed', 10), ('lr_G', 5e-05), ('weight_decay_G', 0), ('beta1', 0.9), ('beta2', 0.99), ('lr_scheme', 'MultiStepLR'), ('warmup_iter', 10), ('lr_steps_rel', [0.95]), ('lr_gamma', 0.5), ('weight_l1', 0), ('weight_fl', 1), ('niter', 20000), ('val_freq', 6666666666), ('lr_steps', [19000])]) Working with z of shape (1, 3, 64, 64) = 12288 dimensions. net_hq is restored from pretrained_weights_lol/vqgan.pkl NetG is restored from pretrained_weights_lol/net_G.pth Out dir: /home/zjy/GLARE-main/code/../results-unpair/LOL/unpaired 0it [00:00, ?it/s]

Image

@zhangjy328
Copy link
Author

看似好像没有运行,为什么没有报错也没有运行推理?

@movingforward100
Copy link
Member

您好,请确保 infer_unpaired.py 103行的路径中只包含你要处理的图片,你可以在103行之后输出 len(lr_paths), 确保图片数量不是0.只有图片数量大于0时,才会进行推理并产生results folder.

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