Comments (2)
Comments
danial880 commented on Nov 11, 2023
It gives an error while loading image_cond.pt. Here is the traceback
Cell In[6], line 2
1 xm = load_model('transmitter', device=device)
----> 2 model = load_model('image300M', device=device)
3 diffusion = diffusion_from_config(load_config('diffusion'))
File ~/Desktop/shap-e/shap_e/models/download.py:147, in load_model(model_name, device, **kwargs)
144 from .configs import model_from_config
146 model = model_from_config(load_config(model_name, **kwargs), device=device)
--> 147 model.load_state_dict(load_checkpoint(model_name, device=device, **kwargs))
148 model.eval()
149 return model
File ~/Desktop/shap-e/shap_e/models/download.py:133, in load_checkpoint(checkpoint_name, device, progress, cache_dir, chunk_size)
129 if checkpoint_name not in MODEL_PATHS:
130 raise ValueError(
131 f"Unknown checkpoint name {checkpoint_name}. Known names are: {MODEL_PATHS.keys()}."
132 )
--> 133 path = fetch_file_cached(
134 MODEL_PATHS[checkpoint_name], progress=progress, cache_dir=cache_dir, chunk_size=chunk_size
135 )
136 return torch.load(path, map_location=device)
File ~/Desktop/shap-e/shap_e/models/download.py:64, in fetch_file_cached(url, progress, cache_dir, chunk_size)
62 local_path = os.path.join(cache_dir, url.split("/")[-1])
63 if os.path.exists(local_path):
---> 64 check_hash(local_path, expected_hash)
65 return local_path
67 response = requests.get(url, stream=True)
File ~/Desktop/shap-e/shap_e/models/download.py:88, in check_hash(path, expected_hash)
86 actual_hash = hash_file(path)
87 if actual_hash != expected_hash:
---> 88 raise RuntimeError(
89 f"The file {path} should have hash {expected_hash} but has {actual_hash}. "
90 "Try deleting it and running this call again."
91 )
RuntimeError: The file /home/danial/Desktop
from shap-e.
Comments
danial880 commented on Nov 11, 2023
It gives an error while loading image_cond.pt. Here is the traceback
Cell In[6], line 2
1 xm = load_model('transmitter', device=device)
----> 2 model = load_model('image300M', device=device)
3 diffusion = diffusion_from_config(load_config('diffusion'))
File ~/Desktop/shap-e/shap_e/models/download.py:147, in load_model(model_name, device, **kwargs)
144 from .configs import model_from_config
146 model = model_from_config(load_config(model_name, **kwargs), device=device)
--> 147 model.load_state_dict(load_checkpoint(model_name, device=device, **kwargs))
148 model.eval()
149 return model
File ~/Desktop/shap-e/shap_e/models/download.py:133, in load_checkpoint(checkpoint_name, device, progress, cache_dir, chunk_size)
129 if checkpoint_name not in MODEL_PATHS:
130 raise ValueError(
131 f"Unknown checkpoint name {checkpoint_name}. Known names are: {MODEL_PATHS.keys()}."
132 )
--> 133 path = fetch_file_cached(
134 MODEL_PATHS[checkpoint_name], progress=progress, cache_dir=cache_dir, chunk_size=chunk_size
135 )
136 return torch.load(path, map_location=device)
File ~/Desktop/shap-e/shap_e/models/download.py:64, in fetch_file_cached(url, progress, cache_dir, chunk_size)
62 local_path = os.path.join(cache_dir, url.split("/")[-1])
63 if os.path.exists(local_path):
---> 64 check_hash(local_path, expected_hash)
65 return local_path
67 response = requests.get(url, stream=True)
File ~/Desktop/shap-e/shap_e/models/download.py:88, in check_hash(path, expected_hash)
86 actual_hash = hash_file(path)
87 if actual_hash != expected_hash:
---> 88 raise RuntimeError(
89 f"The file {path} should have hash {expected_hash} but has {actual_hash}. "
90 "Try deleting it and running this call again."
91 )
RuntimeError: The file /home/danial/Desktop
from shap-e.
Related Issues (20)
- About the saved obj mesh files. HOT 3
- How to control number of 3D model faces? HOT 3
- Conditioning on text AND image at the same time?
- ModuleNotFoundError: No module named 'torch' HOT 1
- RuntimeError: Not compiled with GPU support
- βStrβ object has no attribute device
- Encoder can only fit 1 obj?
- need setup.py adding pytorch3d by default installation HOT 2
- How to render images with white background? HOT 1
- When will Shap-e be added to Openai's API?
- how to create obj(not per-vertex colored) legacy and material (mtl) file and texture map files from the obj?? HOT 1
- Extremely weird bug like easter egg with the very prompt "apple"
- RuntimeError: Not compiled with GPU support
- Issue on image-3D:takes very long time and big memory sometimes
- The angles and size of the generated image-3d point cloud
- encode_model throws output file error HOT 2
- Beu
- Generate point cloud
- How to calculate multiview point clouds and how to implement "Patch emb"?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shap-e.