stable-dreamfusion
stable-dreamfusion copied to clipboard
Colab Problem
I get the following error when I do "start trainig" even though I've given it my hugging face login. Am I doing something wrong?
Namespace(H=800, O=True, O2=False, W=800, albedo_iters=15000, angle_front=30, angle_overhead=30, backbone='grid', bg_radius=1.4, bound=1, ckpt='scratch', cuda_ray=True, density_thresh=10, dir_text=True, dt_gamma=0, eval_interval=10, fovy=60, fovy_range=[40, 70], fp16=True, gui=False, guidance='stable-diffusion', h=64, iters=5000, lambda_entropy=0.0001, lambda_orient=0.01, light_phi=0, light_theta=60, lr=0.001, max_ray_batch=4096, max_spp=1, max_steps=1024, min_near=0.1, num_steps=128, radius=3, radius_range=[1.0, 1.5], save_mesh=True, seed=0, test=False, text='a DSLR photo of a pineapple', update_extra_interval=16, upsample_steps=0, w=64, workspace='trial')
NeRFNetwork(
(encoder): GridEncoder: input_dim=3 num_levels=16 level_dim=2 resolution=16 -> 2048 per_level_scale=1.3819 params=(6119864, 2) gridtype=tiled align_corners=False
(sigma_net): MLP(
(net): ModuleList(
(0): Linear(in_features=32, out_features=64, bias=True)
(1): Linear(in_features=64, out_features=64, bias=True)
(2): Linear(in_features=64, out_features=4, bias=True)
)
)
(encoder_bg): FreqEncoder: input_dim=2 degree=6 output_dim=26
(bg_net): MLP(
(net): ModuleList(
(0): Linear(in_features=26, out_features=64, bias=True)
(1): Linear(in_features=64, out_features=3, bias=True)
)
)
)
[INFO] successfully loaded hugging face user token!
[INFO] loading stable diffusion...
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/huggingface_hub/utils/_errors.py](https://localhost:8080/#) in hf_raise_for_status(response, endpoint_name)
212 try:
--> 213 response.raise_for_status()
214 except HTTPError as e:
7 frames
HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/CompVis/stable-diffusion-v1-4/resolve/main/vae/diffusion_pytorch_model.bin
The above exception was the direct cause of the following exception:
HfHubHTTPError Traceback (most recent call last)
HfHubHTTPError: <class 'requests.exceptions.HTTPError'> (Request ID: Dk1dugtFYnhavLD2yWsHj)
During handling of the above exception, another exception occurred:
OSError Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/diffusers/modeling_utils.py](https://localhost:8080/#) in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
354 except HTTPError as err:
355 raise EnvironmentError(
--> 356 "There was a specific connection error when trying to load"
357 f" {pretrained_model_name_or_path}:\n{err}"
358 )
OSError: There was a specific connection error when trying to load CompVis/stable-diffusion-v1-4:
<class 'requests.exceptions.HTTPError'> (Request ID: Dk1dugtFYnhavLD2yWsHj)
@Delta-Ark Hi, I think it is related to this.
That fixed it! It could run!