kriswangchunyan
kriswangchunyan
> > when i run **python visualizer_drag_gradio.py** > > report issue: **AttributeError: 'dict' object has no attribute 'img_resolution** > > how do i solve this issue? > > I don't...
在scripts脚本里面的dowload_models.json里面有的呢,下载链接:"https://storage.googleapis.com/self-distilled-stylegan/lions_512_pytorch.pkl": "stylegan2_lions_512_pytorch.pkl", "https://storage.googleapis.com/self-distilled-stylegan/dogs_1024_pytorch.pkl": "stylegan2_dogs_1024_pytorch.pkl", "https://storage.googleapis.com/self-distilled-stylegan/horses_256_pytorch.pkl": "stylegan2_horses_256_pytorch.pkl", "https://storage.googleapis.com/self-distilled-stylegan/elephants_512_pytorch.pkl": "stylegan2_elephants_512_pytorch.pkl", "https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-ffhq-512x512.pkl": "stylegan2-ffhq-512x512.pkl", "https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-afhqcat-512x512.pkl": "stylegan2-afhqcat-512x512.pkl", "http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl": "stylegan2-car-config-f.pkl", "http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl": "stylegan2-cat-config-f.pkl"
没有配置GPU环境默认的就是CPU环境,但是CPU是很慢的,建议有条件还是使用GPU吧
目前,发现运行python visualizer_drag_gradio.py,只能通过设置随机种子进行图片的选择,我也没有找到如何输入本地的图片进行编辑,不知道是不是这部分还没有完全开放~
replace “cell_type” to a column in colData,colnames(pData(cds))[3] = "cell_type".
可以问一下你这个一张图片分割要花多少S呢?