Skip to content
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

some questions about "Quick Try" #15

Open
ssxxx1a opened this issue May 13, 2022 · 1 comment
Open

some questions about "Quick Try" #15

ssxxx1a opened this issue May 13, 2022 · 1 comment

Comments

@ssxxx1a
Copy link

ssxxx1a commented May 13, 2022

Hi,It's a great project!
I have some questions about "Quick Try". I installed the whole process according to the "README", but when I run 'python demo/quick_try.py demo/src.png -- style toonify' I get the following problem:

Traceback (most recent call last):
  File "demo/quick_try.py", line 253, in <module>
    main()
  File "demo/quick_try.py", line 240, in main
    transfer_ckpt=os.path.join(args.ckpt_path, transfer_ckpt_name))
  File "demo/quick_try.py", line 118, in __init__
    device='cpu').eval()
  File "/home/abel/program/mmgeneration/mmgen/apis/inference.py", line 36, in init_model
    config.model, train_cfg=config.train_cfg, test_cfg=config.test_cfg)
  File "/home/abel/program/mmgeneration/mmgen/models/builder.py", line 32, in build_model
    return build(cfg, MODELS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
  File "/home/abel/program/mmgeneration/mmgen/models/builder.py", line 27, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/home/abel/anaconda3/envs/soul/lib/python3.7/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
urllib.error.URLError: <urlopen error PSPEncoderDecoder: <urlopen error [Errno 111] Connection refused>>

I finished in CUDA 10.2.
What is the problem?

@chy0315
Copy link

chy0315 commented Apr 19, 2023

I have also encountered the same problem. Have you resolved it?

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