importing kornia dos not compile #1394
-
Describe the bugimporting kornia dos not compile. torch in install and when i run "torch.device('cpu')" on my code - it works and return a valid result What can it be? Thanks! Reproduction steps1.import kornia as K
2. run rour python file Expected behaviorTraceback (most recent call last):
'create_meshgrid' is being compiled since it was called from 'spatial_expectation2d'
'spatial_expectation2d' is being compiled since it was called from 'spatial_soft_argmax2d' Environment- PyTorch Version : 1.3.1
- OS (e.g., Linux): Linux
- How you installed PyTorch: conda install -c pytorch pytorch
AND conda install -c anaconda pytorch-gpu
- Build command you used Not relevent
- Python version: 3.7.3
- CUDA/cuDNN version: 4.8.3 ( conda-build version : 3.18.9)
- GPU models and configuration:Unknown
- Any other relevant information: Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, from what I see you use a very old pytorch version. We give support to >1.6 Besides, the conda package is not maintained by us, so I would recommend using pip to install. |
Beta Was this translation helpful? Give feedback.
-
Hii thanks for the quick replay! for now, I need to stick with conda... so unforcedly pip is not really an option now Thank you |
Beta Was this translation helpful? Give feedback.
Hi, from what I see you use a very old pytorch version. We give support to >1.6
Besides, the conda package is not maintained by us, so I would recommend using pip to install.