Comments (5)
@Sidu28 Thank you for your interest in our work!
The code should be compatible with newer version of Pytorch without problems. However, I can't test it right now, but I can do it next week.
Let me know if you have any problem.
from cmrnet.
I get the error below and the only solution I found online is to upgrade the version of the torch. However, I could not run the correlation layer after upgrading. My torch is running without problem with last stable version. Is there anyone check with the last stable version ? (current its 1.10 for torch)
from cmrnet.
@egirgin I suppose that you updated PyTorch after installing the correlation package. in that case, you need to install again both correlation_cuda
and visibility
packages.
I just tested with PyTorch 1.10 and cuda 10.2 (cuda 11.x is not supported at the moment), and it works.
However I had to update the fille models/CMRNet/correlation_package/setup.py
by replacing -std=c++11
with -std=c++14
.
Let me know if you are able to solve the problem.
PS: you also need to update the pip dependencies in requirements.txt
with the correct version, such as cupy_cuda
, torch
, etc.
from cmrnet.
RESOLVED:EDIT
The solution is to import torch before correlation package
OLD ISSUE
@cattaneod I reinstalled everything from scratch on a different machine with cuda 10.2 and torch 1.10 and the error I get changed. Now I get
ImportError /home/.../models/correlation_package/correlation_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at19UndefinedTensorImpl10_singletonE
Can you specify which dependencies should I replace ?
I changed the followings
cupy_cuda90==6.0.0 to cupy-cuda102
torch==1.0.1.post2 to torch
torchvision==0.2.2 to torchvision
Besides, I installed cudatoolkit=10.2
as it suggested in the pytorch getting started section.
should I change the torch version in the /models/correlation_package/pyproject.toml
or nvcc_args
in /models/correlation_package/setup.py
?? I'm not familiar with the cuda layers tbh.
thanks in advance
from cmrnet.
RESOLVED:EDIT
The solution is to import torch before correlation package
OLD ISSUE @cattaneod I reinstalled everything from scratch on a different machine with cuda 10.2 and torch 1.10 and the error I get changed. Now I getImportError /home/.../models/correlation_package/correlation_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at19UndefinedTensorImpl10_singletonE
Can you specify which dependencies should I replace ? I changed the followings
cupy_cuda90==6.0.0 to cupy-cuda102 torch==1.0.1.post2 to torch torchvision==0.2.2 to torchvision
Besides, I installed
cudatoolkit=10.2
as it suggested in the pytorch getting started section.should I change the torch version in the
/models/correlation_package/pyproject.toml
ornvcc_args
in/models/correlation_package/setup.py
?? I'm not familiar with the cuda layers tbh.thanks in advance
Hi! I meet the same problem, have you solved it?
from cmrnet.
Related Issues (20)
- Training fails after epoch 0 HOT 2
- Problem with evaluation script HOT 10
- About model performance HOT 3
- Using a different data set for training and evaluation HOT 12
- RuntimeError: CUDA error: no kernel image is available for execution HOT 1
- Some hints needed on converting to online use HOT 10
- Line of code seems incorrect HOT 1
- Some operations seem difficult to follow HOT 3
- How can I apply the error_tr and error_rot for pose ? HOT 2
- Is there any specifc format for the KITTI extrinsics ?
- Ground truth test pose is required HOT 1
- Occlusion filtering (train vs eval show) HOT 2
- ValueError: mathutils.Euler(): invalid euler order 'XYZ' HOT 2
- When i run kitti_maps.py, it displays "killed". HOT 3
- Does CMRNet++ plan to open source? HOT 1
- kitti_map.py axis order issue HOT 7
- Evaluated Error Result issue
- How can i run this project on RTX3090? HOT 13
- Problem with LocalMaps Generation HOT 20
- Training fails after Epoch 0 HOT 6
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 cmrnet.