zhanghang1989 / PyTorch-Encoding

A CV toolkit for my papers.
https://hangzhang.org/PyTorch-Encoding/
MIT License
2.04k stars 450 forks source link

installation error #422

Open adeclaire18 opened 1 year ago

adeclaire18 commented 1 year ago

Cannot install successfully.

Here are the error output:

From my perspective, it occur error during compiling gpu part. I even tried to change PATH_TO_CUDA, but the SAME error are STILL there.

Here are my environments:

I have tried many times, checking package versions, pull from source, create new conda envs, uninstalls. BUT STILL ERROR!

Have anyone encountered the same problem? What should I do?

adeclaire18 commented 1 year ago

Good news. inspired by another issue #161.

  1. Download source file from: https://pypi.org/project/torch-encoding/#files
  2. "pip install " a few dependencies
  3. Then installation succeed.

But I get new errors while training: "gpu" has no attribute 'expectation_forward'.