Comments (9)
@ftaker887 I have replaced the
bvh-distance-queries
withPyTorch3D+Kaolin
, thus you don't need to install it anymore. Also, the CUDA version is not limited to 11.0.I just updated the installation scripts, colab can work well for now.
Sorry for the late reply. Thanks for the updates, cheers!
from icon.
colab.sh is designed for online colab, don't use it for your workstation. As for local installation, please refer to installation, step by step.
from icon.
Your installation documentation were the first I followed before trying the collab.sh.
Here are the steps I took after cloning the repository and creating a conda environment, prior to the install:
-
conda install pip
-
pip3 install torch==1.8.2+cu111 torchvision==0.9.2+cu111 torchaudio===0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
-
conda install -c conda-forge pyembree
-
pip install -r requirements.txt --user
-
git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d && pip install -e .
-
Run one of the example scripts.
It works up until it needs to do the 3D pass (bvh) because that version of pytorch is built on cuda 11.1. On step 2, If I use conda to install pytorch, I get the error:
Error: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
It's most likely caused from the difference in C versions of which conda pytorch
and pip install pytorch
were built with.
Edit: To add, it's preferable to use condas dependencies with Pytorch as we could choose what cuda version to use, and in this case, it would probably solve the issue.
from icon.
- Please refer to #7 to softlink cuda 11.0, and then install pytorch, pytorch3d, and bvh-distance-queries
- I always use conda for pytorch installation, never use pip to install it, here I use
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia
undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
such error often means you need to re-compile / re-install the relevant package- I update a lighter requirements.txt, and delete lots of unnecessary files, thus you can have another try
from icon.
@ftaker887 If you finally successfully set up ICON in your workstation, please share your experience here, which may be helpful for other users. Also let me know, then I will close this issue. Thanks
from icon.
Hello. I've followed the steps for installing things via conda, and it's still the same issues.
Installing Pytorch-LTS through PIP, pytorch3d local clone, and bvh-distance-queries doesn't lead to the same compilation errors.
I haven't tried soft linking CUDA yet, and will try this later when I'm able to.
from icon.
Tried all recommended ways of install and no success. The only way this can work in this specific circumstance is upgrading all dependencies to be compatible with with cuda 11.1, and being compatible with conda pytorch3d without locally building.
Soft linking cuda would require installing too many dependencies on my workstation, and would break compatibility with some of the other projects I'm working on.
Unsolved, but closed and moving on as the solution requires too much grunt work.
from icon.
@ftaker887 Just try
The advantage of softlink
is, in this way, you can change the CUDA version easily. And the reason why I recommend using conda env, is because conda can create a clean and independent environment, with that, any conda install
or pip install
won't disturb installed packages used by other projects.
I updated the installation.md and requirements.txt yesterday, for now, there is no python setup.py install
for bvh.
from icon.
@ftaker887 I have replaced the bvh-distance-queries
with PyTorch3D+Kaolin
, thus you don't need to install it anymore. Also, the CUDA version is not limited to 11.0.
I just updated the installation scripts, colab can work well for now.
from icon.
Related Issues (20)
- colanb can't running HOT 1
- The code to obtain 4-views rendered results of the Cape dataset HOT 5
- 投影 HOT 1
- use_vis
- How can I get the model trainable parameters information? HOT 1
- A question about the environment HOT 3
- A question of datasets HOT 2
- A question about data-processing HOT 4
- A question about the version of pytorch and cuda HOT 1
- Colab gives an error when running the model
- Multiprocessing error in visibility phase
- Question about the metrics
- Question about resuluts
- Difference between inference code and evaluation code? HOT 1
- why are visible regions blacked out in visibility maps? HOT 2
- Train a DepthNet to predict cloth depth map
- THuman2.0 have not face texture
- Normal Map
- How to Include 'jaw' Joint and Eye Joints in a Kinematic Chain?
- The code runs without any errors, but no results are generated. python -m scripts.render_batch -headless -out_dir data/
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 icon.