libffcv / ffcv

FFCV: Fast Forward Computer Vision (and other ML workloads!)
https://ffcv.io
Apache License 2.0
2.84k stars 178 forks source link

How to install the v1.0.0 version? #219

Closed kakaxi314 closed 2 years ago

kakaxi314 commented 2 years ago

I encouter the same issue as #114 . Following the suggestion, I try to upgrade ffcv to v1.0.0 version. As it's has not been released. I try to install it by pip from the github branch.

I install the reqirements following the instruction

conda create -y -n ffcv python=3.9 cupy pkg-config compilers libjpeg-turbo opencv pytorch torchvision cudatoolkit=11.3 numba -c pytorch -c conda-forge
conda activate ffcv

and then

pip install git+https://github.com/libffcv/ffcv.git@v1.0.0

But I meet the following Error.

Requirement already satisfied: fastargs in ./miniconda3/envs/ffcv/lib/python3.9/site-packages (from ffcv==0.0.3rc1) (1.2.0)
ERROR: Could not find a version that satisfies the requirement cv2 (from ffcv) (from versions: none)
ERROR: No matching distribution found for cv2

Sorry that I didn't solve it, even I haved tried several solutions from google.

I works on Arch system with miniconda3. Would you please give me some instructions how to install the V1.0.0 version?

Thanks for your time.

kakaxi314 commented 2 years ago

I removed cv2 from the install_requires in the setup.py, and then installed successfully.