adobe-research / custom-diffusion

Custom Diffusion: Multi-Concept Customization of Text-to-Image Diffusion (CVPR 2023)
https://www.cs.cmu.edu/~custom-diffusion
Other
1.84k stars 137 forks source link

Connection refused by the server #50

Closed keno-log closed 1 year ago

keno-log commented 1 year ago

Thanks for the project! Would you please advise how to fix below error? thanks!

(ldm) root@autodl-container-ad2d11a13c-8c30d587:~/autodl-tmp/custom-diffusion# bash scripts/finetune_real.sh "cat" data/cat real_reg/samples_cat cat finetune_addtoken.yaml sd-v1-4.ckpt
cat
data/cat
real_reg/samples_cat
cat
finetune_addtoken.yaml
sd-v1-4.ckpt
Connection refused by the server..
19566 0
Connection refused by the server..
80970 1
6477 2
Connection refused by the server..
158533 3
37678 4
7444 5
25722 6
18951 7
30868 8
Connection refused by the server..
196341 9
Carlyx commented 1 year ago

+1

nupurkmr9 commented 1 year ago

Hi, The above print statements are not because of an error. I had these to indicate the number of images that have been downloaded till now for the regularization set. The URL returned by clip-retrieval for the real regularization images sometimes fails to download. The connection refused by server indicates that and it's not an issue. I have updated the code to have a more informative print statement.

Thanks!