Comments (4)
We have removed dataclasses from master, so that pytorch3d will work on python3.6 if you install straight from github. We hope to have a new version uploaded to anaconda cloud soon as well.
from pytorch3d.
See also #72
from pytorch3d.
@bottler Just a head's up, I think another similar issue snuck into the current release (0.2.5):
..../.local/lib/python3.6/site-packages/pytorch3d/io/obj_io.py in load_obj(f, load_textures, create_texture_atlas, texture_atlas_size, texture_wrap, device)
206 # bytes]]]` for 1st param but got `Union[_PathLike[typing.Any], bytes, str]`.
207 data_dir = os.path.dirname(f)
--> 208 with _open_file(f, "r") as f:
209 return _load_obj(
210 f,
..../.local/lib/python3.6/site-packages/pytorch3d/io/utils.py in _open_file(f, mode)
20 return contextlib.closing(f)
21 else:
---> 22 return contextlib.nullcontext(f)
23
24
AttributeError: module 'contextlib' has no attribute 'nullcontext'
contextlib.nullcontext
was introduced in Python 3.7.
from pytorch3d.
@merlinND Thanks for pointing this out. I think that commit fixes it.
from pytorch3d.
Related Issues (20)
- How to save mesh as tetrahedron in pytorch3d? HOT 1
- Does PyTorch3D support AMD Radeon W7900? (gfx1100) HOT 1
- The picture I generated using pytorch3d has a slash in the middle of the picture, and I don't know why? HOT 8
- Some kind of offset in TexturesUV Map, leads to faulty texture on mesh HOT 6
- A valid wheel for the current colab? HOT 4
- Compatibility Issues with PyTorch3D, GCC, and CUDA on Red Hat Linux HOT 10
- Softras to Pytorch3d comparison rendering flow HOT 1
- How to use Pytorch3d to render a uv normal map for a given mesh? HOT 1
- How can I use OpenGL-related methods in PyTorch3D to render semi-transparent textures? HOT 2
- Differentiable rednering HOT 5
- How to use Pytorch3D to render objects from Objaverse? HOT 1
- Can't install Pytorch3D HOT 3
- Can't seem to install pytorch3d on Orin nx platform? HOT 1
- rotation matrix convention seems inconsistent HOT 1
- Issue while Installing pytorch3d on windows with cuda 12.6 HOT 6
- error HOT 1
- Rendering depth and converting them to the needed format HOT 1
- Support Pytorch2.4 HOT 4
- How to customize the output path for generated .obj files with ninja,because i have a bug with longer than 260 characters HOT 1
- make PointTriangle3DistanceForward return barycentric coordinates HOT 3
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 pytorch3d.