devaansh100 / CLIPTrans

Official implementation for the paper "Transferring Visual Knowledge with Pre-trained Models for Multimodal Machine Translation", published at ICCV'23.
19 stars 3 forks source link

transformers does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. #4

Closed dhawan98 closed 3 months ago

dhawan98 commented 4 months ago

Steps to recreate :

git clone https://github.com/devaansh100/CLIPTrans.git conda env create --file environment.yml pip install -r requirements.txt cd transformers pip install -e .

Obtaining file:///blue/daisyw/aashish.dhawan/CLIPTrans/transformers ERROR: file:///blue/daisyw/aashish.dhawan/CLIPTrans/transformers does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

How do you get rid of this error?

devaansh100 commented 4 months ago

Please look at the setup instructions in the README. I think this should disappear when you clone recursively.

dhawan98 commented 3 months ago

Thank you! That fixed it.