-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'rasterise' #109
Comments
I met the same issue. |
Hi there, Thank you for sharing your great work to us. I am appreciated. Currently, I am facing the exact same problem as this and another thread claimed. I checked out the folder librasterise.so should locate at, but the file is not in there. My CUDA version is 10.0.130, CMake 3.10.3, CuDNN 7.6.5, GCC 4.8.5, tensorflow-gpu 1.13.1. After claiming several variables, CUDA_HOME. LD_LIBRARY_PATH, PATH and CMAKE_LIBRARY_PATH, as suggested in previous issues, I was able to successfully install DIRT repo (at least it appears so :/). Also, my operation system is Linux 10-108-80-111 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux. ''' When I run test.py, the entire log is as follows If you need other information, please let me know. Thanks in advance! |
Update: I solved this issue by following |
I use the " cd dirt mkdir build ; cd build cmake ../csrc make cd .. pip install -e ." , |
Traceback (most recent call last):
File "tests/square_test.py", line 61, in
main()
File "tests/square_test.py", line 47, in main
dirt_pixels = get_dirt_pixels().eval()
File "tests/square_test.py", line 35, in get_dirt_pixels
height=canvas_height, width=canvas_width, channels=1
File "/home/ubuntu/dirt/dirt/rasterise_ops.py", line 49, in rasterise
return rasterise_batch(background[None], vertices[None], vertex_colors[None], faces[None], height, width, channels, name)[0]
File "/home/ubuntu/dirt/dirt/rasterise_ops.py", line 82, in rasterise_batch
return _rasterise_module.rasterise(
AttributeError: 'NoneType' object has no attribute 'rasterise'
@pmh47 please advise .
A bit urgent
I have tried reinstalling tf gpu packages , libopengl , export LD_LIBRARY_PATH but still getting same error
The text was updated successfully, but these errors were encountered: