w-plus-adapter icon indicating copy to clipboard operation
w-plus-adapter copied to clipboard

ProxyError

Open hou-f opened this issue 1 year ago • 3 comments

ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/sd-vae-ft-mse (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))))"), '(Request ID: ad9ede16-707f-4d0a-9a43-95433d9ee274)')

Hello, thanks for your works. That's so great. However, when I run the "test_demo.ipynb", the error above occured. Could you tell me how to resovle this problem.

hou-f avatar Oct 24 '24 02:10 hou-f

ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/sd-vae-ft-mse (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))))"), '(Request ID: ad9ede16-707f-4d0a-9a43-95433d9ee274)')

Hello, thanks for your works. That's so great. However, when I run the "test_demo.ipynb", the error above occured. Could you tell me how to resovle this problem.

Make sure you can connect to huggingface.co. If not, you can download these files of stabilityai/sd-vae-ft-mse to your local machine.

csxmli2016 avatar Oct 24 '24 02:10 csxmli2016

Hello, thanks for your response. I have resovled the network error. But I have an another question that how to use the "train _face.py" or "train_wild.py" to train. Specifically, how to set the parameter. Could you tell me more details about this, thanks again.

hou-f avatar Oct 28 '24 07:10 hou-f

Hello, thanks for your response. I have resovled the network error. But I have an another question that how to use the "train _face.py" or "train_wild.py" to train. Specifically, how to set the parameter. Could you tell me more details about this, thanks again.

For training face as an example, you should prepare the face images and their w vectors using e4e encoder, and then modify the path 'imgs_path', 'noise_path', 'imgs_path_stylegan2', 'noise_path_stylegan2' in train_face.py. Then, run train_face.sh

For training in-the-wild, after you prepare the data and modify the corresponding paths, run train_wild.sh

csxmli2016 avatar Oct 28 '24 07:10 csxmli2016