Comments (9)
Met simliar issue and solved by exiting and re-entering the bash.
from frnn.
I cannot reproduce this with python 3.9.16 / PyTorch 2.0 / CUDA 11.8 / Ubuntu 20.04 locally on my machine. How did you install the library? Maybe you can try to install it with pip install -e .
and check again?
from frnn.
Thanks for the issue. Unfortunately, I cannot reproduce it on my ubuntu 20.04 with python 3.8.13. It is also weird that develop
mode can fix it.
Anyway, since direct invocations of setup.py
are deprecated I will change them to pip install .
.
from frnn.
Have a similar problem when importing module.
ImportError: cannot import name '_C' from partially initialized module 'frnn' (most likely due to a circular import) (/content/FRNN/frnn/frnn.py)
Tried using in google colab with Python 3.9.16, CUDA 11.8, Ubuntu 20.04.
Plz advise how to solve
from frnn.
It helped, thank you! Had to restart runtime afterwards
from frnn.
Same issue for me, with cuda 11.7, python 3.8.16, pytorch '2.0.1+cu117' on Ubuntu 20.04.
I tried pip install -e .
and python setup.py develop
as suggested above, but unfortunately the problem is not solved.
Any help/suggestion is appreciated.
File "/data/ruihan/projects/NeRF-Texture/tools/map.py", line 3, in <module>
import frnn
File "/data/ruihan/projects/NeRF-Texture/thirdparty/FRNN/frnn/__init__.py", line 2, in <module>
from .frnn import frnn_grid_points, frnn_gather, frnn_bf_points, _C
File "/data/ruihan/projects/NeRF-Texture/thirdparty/FRNN/frnn/frnn.py", line 7, in <module>
from frnn import _C
from frnn.
Did you restart the bash after installation? This seems to help for some people.
from frnn.
Did you restart the bash after installation? This seems to help for some people.
Yes, I do. I also rebooted the machine, just in case. Unfortunately, the problem persists.
from frnn.
I did a quick search and this might related to the circular import caused by the same name of the package and the python file. I will do a PR this weekend and see if renaming the files can fix it.
from frnn.
Related Issues (16)
- Maybe need to pay attention to The Precision of Float Type... HOT 3
- GPU memory cache HOT 1
- What is the function of the grid points? Can it be used to subsample a point cloud in a voxel downsample way? HOT 3
- [Environmental configuration] Installation of frnn HOT 2
- error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120 HOT 4
- Is there a version of Windows available HOT 1
- installation issue HOT 1
- when i install frnn, happen some errors HOT 1
- Issue building prefix_sum HOT 2
- RuntimeError: Unknown layout HOT 10
- What are the limits on dimension and K? HOT 22
- CUDA OOM(potential enhancement) HOT 5
- changes to frnn.py doesn't take effect HOT 4
- Weird OOM in frnn_gather HOT 3
- Assertion `cell_idx < G` failed HOT 1
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 frnn.