cvevals icon indicating copy to clipboard operation
cvevals copied to clipboard

question - clone Project in colab Notebook

Open staebchen0 opened this issue 2 years ago • 2 comments

Hi, I have a question, I cloned the project in a Colab notebook in content folder

!git clone https://github.com/roboflow/cvevals !cd cvevals !pip3 install -r requirements.txt !pip3 install -e . !cp scripts/cutout.py . But I always get the error message, ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

even though the file exists under cvevals folder?

staebchen0 avatar Dec 02 '23 13:12 staebchen0

this worked for me. I only get errors with a few packages

!pip3 install -r ./cvevals/requirements.txt
!pip3 install -e .
!cp scripts/cutout.py .

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lida 0.0.10 requires fastapi, which is not installed. lida 0.0.10 requires kaleido, which is not installed. lida 0.0.10 requires python-multipart, which is not installed. lida 0.0.10 requires uvicorn, which is not installed. llmx 0.0.15a0 requires cohere, which is not installed. llmx 0.0.15a0 requires openai, which is not installed. llmx 0.0.15a0 requires tiktoken, which is not installed. google-colab 1.0.0 requires pandas==1.5.3, but you have pandas 2.0.1 which is incompatible. Successfully installed Pillow-9.5.0 PyYAML-6.0 certifi-2022.12.7 chardet-4.0.0 charset-normalizer-3.1.0 contourpy-1.0.7 cycler-0.10.0 fonttools-4.39.3 idna-2.10 importlib-resources-5.12.0 kiwisolver-1.4.4 numpy-1.24.3 opencv-python-4.7.0.72 packaging-23.1 pandas-2.0.1 pyparsing-2.4.7 python-dotenv-1.0.0 pytz-2023.3 requests-toolbelt-1.0.0 roboflow-1.0.8 supervision-0.6.0 tqdm-4.65.0 tzdata-2023.3 urllib3-1.26.15 wget-3.2 zipp-3.15.0 WARNING: The following packages were previously imported in this runtime: [PIL,certifi,cycler,kiwisolver,numpy,pyparsing] You must restart the runtime in order to use newly installed versions.

staebchen0 avatar Dec 03 '23 11:12 staebchen0

I have now installed everything in individual steps.

However, you get an error in the script

Traceback (most recent call last):
  File "/content/cvevals/scripts/cutout.py", line 7, in <module>
    from evaluations.dataloaders import RoboflowDataLoader
ModuleNotFoundError: No module named 'evaluations'

roboflow are installed what could that be?

staebchen0 avatar Dec 03 '23 12:12 staebchen0