Comments (16)
Try this @snowy-the-arctic-fox
pip install git+https://github.com/openai/shap-e.git
This works. Thanks so much @jayanthd26!
from shap-e.
it is the sample_text_to_3D file. Since i am new to these things, i do not typically know what i am doing most of the time. is latents an attribute of a module i have not installed yet?
It is just a variable and it's an assignment so you shouldn't be getting that error if u have used '=' operator as @Kabanosk mentioned.
from shap-e.
What error did you get? And what is your file structure in Google colab? I've run all of the example projects so I can help
from shap-e.
@snowy-the-arctic-fox I added this code cell at the beginning:
!git clone https://github.com/openai/shap-e
!mv shap-e/* .
!pip install -e .
from shap-e.
Try this @snowy-the-arctic-fox
pip install git+https://github.com/openai/shap-e.git
from shap-e.
thanks mate. will test it out soon
from shap-e.
One smaller issue. In a part of the code that contains the batch size, guidance scale, and prompt, i get this error message
`NameError Traceback (most recent call last)
in <cell line: 5>()
3 prompt = "a shark"
4
----> 5 latents == sample_latents(
6 batch_size=batch_size,
7 model=model,
NameError: name 'latents' is not defined`
from shap-e.
You have double equal signs (==). Change it to a single one (=), and I think it should work
----> 5 latents == sample_latents(
6 batch_size=batch_size,
7 model=model,NameError: name 'latents' is not defined`
from shap-e.
i do not think that is the problem. error occurs even with the equal sign.
from shap-e.
Can you copy and paste the code you have?
from shap-e.
Can you copy and paste the code you have?
yes and which file?
from shap-e.
In file where he have this error:
`NameError Traceback (most recent call last)
in <cell line: 5>()
3 prompt = "a shark"
4
----> 5 latents == sample_latents(
6 batch_size=batch_size,
7 model=model,NameError: name 'latents' is not defined`
Only code from the cell where this error occurred
I think it is the examples/sample_text_to_3d.ipynb
from shap-e.
it is the sample_text_to_3D file. Since i am new to these things, i do not typically know what i am doing most of the time. is latents an attribute of a module i have not installed yet?
from shap-e.
interesting. must be something to do with google colab? the Β¨=" still shows that error
from shap-e.
Can you copy code cells you have?
Edit: You can try my notebook? Link
from shap-e.
interesting. the code that you have works fine. but the original example fails.
from shap-e.
Related Issues (20)
- 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
- RuntimeError in sample_image_to_3d.ipnb HOT 2
- 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"?
- 3d
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.