scenic icon indicating copy to clipboard operation
scenic copied to clipboard

OWL-ViT inference playround: [requirements error]

Open theblackdutchman opened this issue 1 year ago • 1 comments

running the first cell in the notebook gives this error `Cloning into '.'... remote: Enumerating objects: 7497, done. remote: Counting objects: 100% (3092/3092), done. remote: Compressing objects: 100% (921/921), done. remote: Total 7497 (delta 2313), reused 2677 (delta 2163), pack-reused 4405 Receiving objects: 100% (7497/7497), 57.74 MiB | 3.23 MiB/s, done. Resolving deltas: 100% (5135/5135), done. warning: the following paths have collided (e.g. case-sensitive paths on a case-insensitive filesystem) and only one from the same colliding group is in the working tree:

'scenic/projects/knowledge_visual_language/configs/wit_memory_G.py' 'scenic/projects/knowledge_visual_language/configs/wit_memory_g.py' 'scenic/projects/knowledge_visual_language/configs/wit_retrieval_soft_G_froze_config.py' 'scenic/projects/knowledge_visual_language/configs/wit_retrieval_soft_g_froze_config.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. fastapi 0.109.0 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible. openai 1.7.2 requires typing-extensions<5,>=4.7, but you have typing-extensions 4.5.0 which is incompatible. pydantic 2.5.3 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible. pydantic-core 2.14.6 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. Collecting git+https://github.com/openai/CLIP.git (from -r ./scenic/projects/owl_vit/requirements.txt (line 4)) Cloning https://github.com/openai/CLIP.git to /private/var/folders/6z/cmptr1113nq3hlc09y7tzzsm0000gn/T/pip-req-build-duom7ca0 Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/6z/cmptr1113nq3hlc09y7tzzsm0000gn/T/pip-req-build-duom7ca0 Resolved https://github.com/openai/CLIP.git to commit a1d071733d7111c9c014f024669f959182114e33 Preparing metadata (setup.py) ... [?25ldone ... mkdir: /big_vision: Read-only file system fatal: could not create work tree dir '/big_vision': Read-only file system ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/big_vision/big_vision/requirements.txt' Done. `

theblackdutchman avatar Jan 22 '24 18:01 theblackdutchman

I moved my big_vision folder under the scenic folder. It seemed to work.

Chi-chicken avatar Apr 19 '24 09:04 Chi-chicken