Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloading url: weights #13

Open
ccakmak60 opened this issue Aug 14, 2023 · 2 comments
Open

downloading url: weights #13

ccakmak60 opened this issue Aug 14, 2023 · 2 comments

Comments

@ccakmak60
Copy link

downloading url: weights
downloading to: ./trained-model
Error downloading file: Head "weights": unsupported protocol scheme ""
Traceback (most recent call last):
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/cog/server/worker.py", line 185, in _setup
run_setup(self._predictor)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/cog/predictor.py", line 98, in run_setup
predictor.setup(weights=weights)
File "predict.py", line 186, in setup
self.load_trained_weights(weights, self.txt2img_pipe)
File "predict.py", line 83, in load_trained_weights
download_weights(weights, local_weights_cache)
File "predict.py", line 68, in download_weights
result.check_returncode()
File "/root/.pyenv/versions/3.9.17/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['pget', '-x', 'weights', './trained-model']' returned non-zero exit status 1.
ⅹ Model setup failed

@ccakmak60
Copy link
Author

changed local_weights_cache = "./training_out" and it worked

@paulVu
Copy link

paulVu commented Sep 7, 2023

Training failed.
Command '['pget', '-x', 'https://weights.replicate.delivery/default/sdxl/sdxl-vae-fix-1.0.tar', './sdxl-cache']' returned non-zero exit status 1

I got an error above, how to fix it in call API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants