chy980315

Results 3 comments of chy980315

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

> 你好,我遇到另外一个问题,第一次运行这句话的时候,有一个结果,但是当我再次运行的时候,出现了这个错误, 我找不到解决办法,请帮助我!谢谢 > > !python demo/quick_try.py demo/src.png --style toonify --save-path demo/src_output1.png > > 文件“/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py”,第 45 行,在 build_from_cfg f'{obj_type} 不在 {registry.name} 注册表中') KeyError: 'ADAStyleGAN2Discriminator is not in the module registry'...

> 那请问你运行quick_try的时候遇见过下面这个报错吗?代码直接下下来的,但运行报错说路径问题。他会在原来参数文件的路径后面加一些东西,以.tmp结尾。🙏🙏 FileNotFoundError: [Errno 2] No such file or directory: '.\work_dirs/pre-trained\agile_transfer_toonify1024x1024_zplus_lpips0.5_freezeD5_ada_bs4x2_lr_1e-4_1600iter_20211104_134449-cb6785b6.pthx4oq10rp.tmp' Not sure if you can still see my reply, I had the same problem. You can solve this problem...