chenfei-wu / TaskMatrix

Other
34.53k stars 3.31k forks source link

bash download.sh error #47

Open SlatitudeChou opened 1 year ago

SlatitudeChou commented 1 year ago

(visgpt) northvia@SCAR18:~/code/visual-chatgpt-main$ bash download.sh fatal: destination path 'ControlNet' already exists and is not an empty directory. --2023-03-11 00:47:09-- https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_canny.pth Resolving huggingface.co (huggingface.co)... 54.147.40.172, 52.2.183.177, 54.81.125.205, ... Connecting to huggingface.co (huggingface.co)|54.147.40.172|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/4de384b16bc2d7a1fb258ca0cbd941d7dd0a721ae996aff89f905299d6923f45?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_canny.pth%3B+filename%3D%22control_sd15_canny.pth%22%3B&Expires=1678725470&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvNGRlMzg0YjE2YmMyZDdhMWZiMjU4Y2EwY2JkOTQxZDdkZDBhNzIxYWU5OTZhZmY4OWY5MDUyOTlkNjkyM2Y0NT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjU0NzB9fX1dfQ__&Signature=CoAxXzLA-rDLJprVvdlC35oqbTc8Ee6%7EZjHzRPzbamVUq1H2m-RefSpZE84G7IkugP-yBM3hdGLvm6Ux2obYSqNdMngxx4838mc%7ErWUAOMPF%7E-ASOf4lnNDdGi7i1DPeVVbhzSe3VHmaVS9bt-z1Jp3nF9dFqhOgWOhHSoM8Y8E%7ELL8LLtS3qEUWijIVSbfy6m9mQQc9QVvY82eNgdTDMV7WTKxnHDxnM2iZYddUQwz1RRWTojNXPm3g7f%7E0zHZIe90QQcSgK2HpgBTo5X%7E2wsCkFiTGF0lKi-QQ35CtQ6O6uSHhaWL7qOTHHSgsjIKVmJBtyCdV5YEGhHzpr9c-zA__&Key-Pair-Id=KVTP0A1DKRTAX [following] --2023-03-11 00:47:10-- https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/4de384b16bc2d7a1fb258ca0cbd941d7dd0a721ae996aff89f905299d6923f45?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_canny.pth%3B+filename%3D%22control_sd15_canny.pth%22%3B&Expires=1678725470&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvNGRlMzg0YjE2YmMyZDdhMWZiMjU4Y2EwY2JkOTQxZDdkZDBhNzIxYWU5OTZhZmY4OWY5MDUyOTlkNjkyM2Y0NT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjU0NzB9fX1dfQ__&Signature=CoAxXzLA-rDLJprVvdlC35oqbTc8Ee6%7EZjHzRPzbamVUq1H2m-RefSpZE84G7IkugP-yBM3hdGLvm6Ux2obYSqNdMngxx4838mc%7ErWUAOMPF%7E-ASOf4lnNDdGi7i1DPeVVbhzSe3VHmaVS9bt-z1Jp3nF9dFqhOgWOhHSoM8Y8E%7ELL8LLtS3qEUWijIVSbfy6m9mQQc9QVvY82eNgdTDMV7WTKxnHDxnM2iZYddUQwz1RRWTojNXPm3g7f%7E0zHZIe90QQcSgK2HpgBTo5X%7E2wsCkFiTGF0lKi-QQ35CtQ6O6uSHhaWL7qOTHHSgsjIKVmJBtyCdV5YEGhHzpr9c-zA__&Key-Pair-Id=KVTP0A1DKRTAX Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 65.8.158.48, 65.8.158.88, 65.8.158.123, ... Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|65.8.158.48|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5710753329 (5.3G) [binary/octet-stream] Saving to: ‘control_sd15_canny.pth.1’

control_sd15_canny.pth.1 100%[========================================================================================================================================>] 5.32G 13.0MB/s in 7m 26s

2023-03-11 00:54:36 (12.2 MB/s) - ‘control_sd15_canny.pth.1’ saved [5710753329/5710753329]

--2023-03-11 00:54:36-- https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_depth.pth Resolving huggingface.co (huggingface.co)... 54.147.40.172, 52.2.183.177, 54.81.125.205, ... Connecting to huggingface.co (huggingface.co)|54.147.40.172|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/726cd0b472c4b5c0341b01afcb7fdc4a7b4ab7c37fe797fd394c9805cbef60bf?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_depth.pth%3B+filename%3D%22control_sd15_depth.pth%22%3B&Expires=1678725095&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvNzI2Y2QwYjQ3MmM0YjVjMDM0MWIwMWFmY2I3ZmRjNGE3YjRhYjdjMzdmZTc5N2ZkMzk0Yzk4MDVjYmVmNjBiZj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjUwOTV9fX1dfQ__&Signature=AMi4w7r7Wl9OQkp6mTnuuP9B4acSPbOksMULg8e-tc0Iw-zb36a47CnUp4SlMxPZ8mYweiLpOgbsj7-3Lly8qkzBCqRRHXAiglCG5ncrKNLL4LU25u3YHIO%7Es5%7ENrRObqBNXKq0Hb6BK5%7EHjFlFJ57y686WQ7vJiQKkqGBXxOtDHJr5YCECW73dGXBhbfDXMnm7nQ-yQ9y757chDOyzSna1xWWBHF5O7RWW34Dk7yXoYIR83qKCw-%7E%7EXTJFh1g%7EitKf6WRLSKX9LF3gkXmDqrksz42GSwDbuupJ54zCNTELNHXUz5YpZJVL5wlG0b%7EyJ6pM1Vct%7EDOQ-OkdZJbD4FQ__&Key-Pair-Id=KVTP0A1DKRTAX [following] --2023-03-11 00:54:37-- https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/726cd0b472c4b5c0341b01afcb7fdc4a7b4ab7c37fe797fd394c9805cbef60bf?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_depth.pth%3B+filename%3D%22control_sd15_depth.pth%22%3B&Expires=1678725095&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvNzI2Y2QwYjQ3MmM0YjVjMDM0MWIwMWFmY2I3ZmRjNGE3YjRhYjdjMzdmZTc5N2ZkMzk0Yzk4MDVjYmVmNjBiZj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjUwOTV9fX1dfQ__&Signature=AMi4w7r7Wl9OQkp6mTnuuP9B4acSPbOksMULg8e-tc0Iw-zb36a47CnUp4SlMxPZ8mYweiLpOgbsj7-3Lly8qkzBCqRRHXAiglCG5ncrKNLL4LU25u3YHIO%7Es5%7ENrRObqBNXKq0Hb6BK5%7EHjFlFJ57y686WQ7vJiQKkqGBXxOtDHJr5YCECW73dGXBhbfDXMnm7nQ-yQ9y757chDOyzSna1xWWBHF5O7RWW34Dk7yXoYIR83qKCw-%7E%7EXTJFh1g%7EitKf6WRLSKX9LF3gkXmDqrksz42GSwDbuupJ54zCNTELNHXUz5YpZJVL5wlG0b%7EyJ6pM1Vct%7EDOQ-OkdZJbD4FQ__&Key-Pair-Id=KVTP0A1DKRTAX Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 65.8.158.48, 65.8.158.88, 65.8.158.123, ... Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|65.8.158.48|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5710753329 (5.3G) [binary/octet-stream] Saving to: ‘control_sd15_depth.pth’

control_sd15_depth.pth 100%[========================================================================================================================================>] 5.32G 16.2MB/s in 5m 26s

2023-03-11 01:00:03 (16.7 MB/s) - ‘control_sd15_depth.pth’ saved [5710753329/5710753329]

--2023-03-11 01:00:03-- https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_hed.pth Resolving huggingface.co (huggingface.co)... 54.235.118.239, 54.81.125.205, 18.214.156.133, ... Connecting to huggingface.co (huggingface.co)|54.235.118.239|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/00ad5ff2c3ce279332650d79f24a912ef8aa411382fcbde2a20e6239cce65d9c?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_hed.pth%3B+filename%3D%22control_sd15_hed.pth%22%3B&Expires=1678725545&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvMDBhZDVmZjJjM2NlMjc5MzMyNjUwZDc5ZjI0YTkxMmVmOGFhNDExMzgyZmNiZGUyYTIwZTYyMzljY2U2NWQ5Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjU1NDV9fX1dfQ__&Signature=e4EhDq6n4q9fza1A7tA4KK4Yaqugt2lsyXdmxJllsRlXHpPF4K%7EyAq2XXxv414dQCnIiR1lScNexHS3OvJKC%7EgGHaqriy1iaRtocwJnoiK3%7E16vXtnF-hJ8gs0rS52KXWv5ncPdsjGOg4o1QvW0Guwa8IZ6EQQ4Tf4oeslFsmsxXWUSX%7Ep1qQZT6RPyh%7EG69e8OWgjvw5r64rWqXjU%7EAMsmvEJiNdGKuHB0HesQycx6JUpRSLKfZpXmEYhaBA827eZkwR5W3WTufJYr9FeNXoll7O0rbCnrWJmepybbmAB5CuBf-Qx2Yl%7E4eu%7EAkQKBBB5Rege3MNgHEhCrO-QrZpg__&Key-Pair-Id=KVTP0A1DKRTAX [following] --2023-03-11 01:00:04-- https://cdn-lfs.huggingface.co/repos/f6/65/f665e553e8fd16131981a96c629e785939f08080bb3cbf8d2b7f5ddbd9e6100a/00ad5ff2c3ce279332650d79f24a912ef8aa411382fcbde2a20e6239cce65d9c?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_sd15_hed.pth%3B+filename%3D%22control_sd15_hed.pth%22%3B&Expires=1678725545&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2Y2LzY1L2Y2NjVlNTUzZThmZDE2MTMxOTgxYTk2YzYyOWU3ODU5MzlmMDgwODBiYjNjYmY4ZDJiN2Y1ZGRiZDllNjEwMGEvMDBhZDVmZjJjM2NlMjc5MzMyNjUwZDc5ZjI0YTkxMmVmOGFhNDExMzgyZmNiZGUyYTIwZTYyMzljY2U2NWQ5Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2Nzg3MjU1NDV9fX1dfQ__&Signature=e4EhDq6n4q9fza1A7tA4KK4Yaqugt2lsyXdmxJllsRlXHpPF4K%7EyAq2XXxv414dQCnIiR1lScNexHS3OvJKC%7EgGHaqriy1iaRtocwJnoiK3%7E16vXtnF-hJ8gs0rS52KXWv5ncPdsjGOg4o1QvW0Guwa8IZ6EQQ4Tf4oeslFsmsxXWUSX%7Ep1qQZT6RPyh%7EG69e8OWgjvw5r64rWqXjU%7EAMsmvEJiNdGKuHB0HesQycx6JUpRSLKfZpXmEYhaBA827eZkwR5W3WTufJYr9FeNXoll7O0rbCnrWJmepybbmAB5CuBf-Qx2Yl%7E4eu%7EAkQKBBB5Rege3MNgHEhCrO-QrZpg__&Key-Pair-Id=KVTP0A1DKRTAX Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 13.226.210.76, 13.226.210.22, 13.226.210.5, ... Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|13.226.210.76|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5710750165 (5.3G) [binary/octet-stream] Saving to: ‘control_sd15_hed.pth’

control_sd15_hed.pth 50%[===================================================================> ] 2.67G 13.3MB/s eta 3m 58s

andzejsp commented 1 year ago

idk man, i just downloaded everything just fine, maybe servers are busy, cuz this repo is hot like hot cakes, and everybody wants it

K-tang-mkv commented 1 year ago

@SlatitudeChou remove the folder 'ControlNet' it already exists, and then bash download.sh again.

SlatitudeChou commented 1 year ago

@SlatitudeChou remove the folder 'ControlNet' it already exists, and then bash download.sh again.

I have tried but it still repeats download

albertoecf commented 1 year ago

Hey I've the same problem when running bash download.sh , I tried delete and re run as @K-tang-mkv proposed (thanks for that) but still same problem.

(visgpt) my@user visual-chatgpt % bash download.sh

output :

Cloning into 'ControlNet'...
remote: Enumerating objects: 1264, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1264 (delta 6), reused 3 (delta 0), pack-reused 1252
Receiving objects: 100% (1264/1264), 122.36 MiB | 5.71 MiB/s, done.
Resolving deltas: 100% (548/548), done.
download.sh: line 6: wget: command not found
download.sh: line 7: wget: command not found
download.sh: line 8: wget: command not found
download.sh: line 9: wget: command not found
download.sh: line 10: wget: command not found
download.sh: line 11: wget: command not found
download.sh: line 12: wget: command not found
download.sh: line 13: wget: command not found
EnthusiasticZ commented 1 year ago

I have same problem, plz help.

K-tang-mkv commented 1 year ago

@albertoecf You need to install wget first on your desktop. And you can also refer my Colab notebook version https://github.com/K-tang-mkv/visual-chatgpt-googlecolab, in my repo I didn't use wget to download any controlNet models.

77LJH commented 1 year ago

Have you solved your problem?

77LJH commented 1 year ago

@EnthusiasticZ Have you solved your problem?

SlatitudeChou commented 1 year ago

Have you solved your problem? 你解决你的问题了吗?

no

shengming-yin commented 1 year ago

Hi @SlatitudeChou and @EnthusiasticZ We have removed the requirement to run download.sh and you can try the updated code. Thanks~

albertoecf commented 1 year ago

Hi @shengming-yin (thanks for your collaborations) I've cloned the repo again, tried to run unsuccessfully 😢 I've also uninstalled (pip uninstall gradio) and installed it again (pip install gradio) but i'm getting the same problem again I've also tried to run python and python3 none of them worked for me

is there anything I could do to get this working?

Captura de pantalla 2023-03-20 a las 8 37 38
shengming-yin commented 1 year ago

Hi @albertoecf you can try to fix the version of the gradio by pip install gradio==3.20.1. Thanks