Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question - clone Project in colab Notebook #19

Open
staebchen0 opened this issue Dec 2, 2023 · 2 comments
Open

question - clone Project in colab Notebook #19

staebchen0 opened this issue Dec 2, 2023 · 2 comments

Comments

@staebchen0
Copy link

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
Copy link
Author

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
Copy link
Author

staebchen0 commented Dec 3, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant