Comments (4)
Hi,
SPG is still only compatible with pyorch 3.1. We are working on it and will upgrade soon. In the meantime, I advise you to create a virtual env with 3.1.
Loic
from superpoint_graph.
Kindly help
Downgraded to version pytorch3.1 rather than 4.0. But got an error below.
0%| | 0/14 [00:00<?, ?it/s]Traceback (most recent call last):
File "learning/main.py", line 387, in
main()
File "learning/main.py", line 311, in main
acc_test, oacc_test, avg_iou_test, per_class_iou_test, predictions_test, avg_acc_test, confusion_matrix = eval_final()
File "learning/main.py", line 254, in eval_final
outputs = model.ecc(embeddings)
File "/home/administrator/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in call
result = self.forward(*input, **kwargs)
File "/home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d/superpoint_graph-release/learning/graphnet.py", line 97, in forward
input = module(input)
File "/home/administrator/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in call
result = self.forward(*input, **kwargs)
File "/home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d/superpoint_graph-release/learning/modules.py", line 54, in forward
input = ecc.GraphConvFunction(nc, nc, idxn, idxe, degs, degs_gpu, self._edge_mem_limit)(hx, weights)
File "/home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d/superpoint_graph-release/learning/ecc/GraphConvModule.py", line 67, in forward
cuda_kernels.conv_aggregate_fw(output.narrow(0,startd,numd), products.view(-1,self._out_channels), self._degs_gpu.narrow(0,startd,numd))
File "/home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d/superpoint_graph-release/learning/ecc/cuda_kernels.py", line 120, in conv_aggregate_fw
function, stream = get_kernel_func('conv_aggregate_fw_kernel_v2', conv_aggregate_fw_kernel_v2(), get_dtype(src))
File "/home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d/superpoint_graph-release/learning/ecc/cuda_kernels.py", line 33, in get_kernel_func
prog = Program(ksrc.encode('utf-8'), (kname+dtype+'.cu').encode('utf-8'))
File "/home/administrator/anaconda3/lib/python3.6/site-packages/pynvrtc/compiler.py", line 52, in init
include_names)
File "/home/administrator/anaconda3/lib/python3.6/site-packages/pynvrtc/interface.py", line 200, in nvrtcCreateProgram
c_char_p(encode_str(src)), c_char_p(encode_str(name)),
File "/home/administrator/anaconda3/lib/python3.6/site-packages/pynvrtc/interface.py", line 54, in encode_str
return s.encode("utf-8")
AttributeError: 'bytes' object has no attribute 'encode'
Exception ignored in: <bound method Program.del of <pynvrtc.compiler.Program object at 0x7f828338c4a8>>
Traceback (most recent call last):
File "/home/administrator/anaconda3/lib/python3.6/site-packages/pynvrtc/compiler.py", line 56, in del
self._interface.nvrtcDestroyProgram(self._program)
AttributeError: 'Program' object has no attribute '_program'
^Z
[6]+ Stopped CUDA_VISIBLE_DEVICES=0,1 python learning/main.py --dataset sema3d --SEMA3D_PATH /home/administrator/Documents.orig/FileSystem/Server_Code/sematic3d --db_test_name testfull --db_train_name trainval --epochs -1 --lr_steps '[350, 400, 450]' --test_nth_epoch 100 --model_config 'gru_10,f_8' --ptn_nfeat_stn 11 --nworkers 2 --odir "/home/administrator/Documents.orig/FileSystem/results/sema3d/trainval_best" --resume RESUME
from superpoint_graph.
solved by using
replacing line 3̶5̶ 33 of /learning/ecc/cuda_kernels.py by
prog = Program(ksrc, (kname+dtype+'.cu'))
Closing the issue
from superpoint_graph.
This was caused by recently merged NVIDIA/pynvrtc#2 and fixed here today - 44bcbe8
from superpoint_graph.
Related Issues (20)
- RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation HOT 5
- cuda acceleration for partition HOT 4
- TypeError in 'NearestNeighbors(1, algorithm='kd_tree').fit(xyz)' HOT 2
- Inconsistent class_maps for s3dis HOT 2
- CUDA error when training for Semantic3D HOT 1
- the version of metrics HOT 2
- When making ply_c, fatal error: numpy/ndarrayobject.h: No such file or directory HOT 3
- How to control the number of superpoints in a room? HOT 6
- Segmentation fault (core dumped) HOT 2
- Running on Stanford3dDataset_v1.2_Aligned_Version, the error occurs. HOT 6
- CMake error HOT 1
- Which version of Pytorch is needed for this code? HOT 1
- ModuleNotFoundError: No module named 'torchnet' HOT 3
- RuntimeError: scan failed to synchronize: an illegal memory access was encountered HOT 2
- L0-cut pursuit partition algorithm HOT 3
- cupy_backends.cuda.api.driver.CUDADriverError: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered HOT 3
- About the number of superpoints HOT 2
- Overfitting soon after around 30 epochs HOT 13
- How to visualize SSP HOT 1
- ValueError: need at least one array to concatenate 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 superpoint_graph.