ermongroup / SDEdit

PyTorch implementation for SDEdit: Image Synthesis and Editing with Stochastic Differential Equations
https://sde-image-editing.github.io/
MIT License
1.01k stars 93 forks source link

HTTP Error in Colab Demo #27

Open BlueCat-de opened 11 months ago

BlueCat-de commented 11 months ago

The following error occurs in the colab demo:

Downloading: "https://image-editing-test-12345.s3-us-west-2.amazonaws.com/checkpoints/church_outdoor.ckpt" to /root/.cache/torch/hub/checkpoints/church_outdoor.ckpt

HTTPError Traceback (most recent call last) in <cell line: 5>() 3 data_name = "lsun_church" 4 sample_step = 3 ----> 5 model, betas, num_timesteps, logvar = load_model(dataset, category, "church.yml") 6 total_noise_levels = 500 7 SDEditing(betas, logvar, model, data_name, sample_step, total_noise_levels, n=3)

8 frames /usr/lib/python3.10/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 641 class HTTPDefaultErrorHandler(BaseHandler): 642 def http_error_default(self, req, fp, code, msg, hdrs): --> 643 raise HTTPError(req.full_url, code, msg, hdrs, fp) 644 645 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 403: Forbidden

QuBohao commented 4 weeks ago

how to solve it