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

tflite model maker installation issue in kaggle #12

Open
dsbyprateekg opened this issue Nov 21, 2024 · 0 comments
Open

tflite model maker installation issue in kaggle #12

dsbyprateekg opened this issue Nov 21, 2024 · 0 comments

Comments

@dsbyprateekg
Copy link

dsbyprateekg commented Nov 21, 2024

Unable to install and use tflite model maker package in kaggle (gpu p100).Below is complete logs-
`The following NEW packages will be installed:
libportaudio2
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
Need to get 65.3 kB of archives.
After this operation, 223 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libportaudio2 amd64 19.6.0-1.1 [65.3 kB]
Fetched 65.3 kB in 0s (184 kB/s)

�7�8Selecting previously unselected package libportaudio2:amd64.
(Reading database ... 122996 files and directories currently installed.)
Preparing to unpack .../libportaudio2_19.6.0-1.1_amd64.deb ...
�7Progress: [ 0%] [..........................................................] �8�7Progress: [ 20%] [###########...............................................] �8Unpacking libportaudio2:amd64 (19.6.0-1.1) ...
�7Progress: [ 40%] [#######################...................................] �8Setting up libportaudio2:amd64 (19.6.0-1.1) ...
�7Progress: [ 60%] [##################################........................] �8�7Progress: [ 80%] [##############################################............] �8Processing triggers for libc-bin (2.35-0ubuntu3.8) ...

�7�8ERROR: Could not find a version that satisfies the requirement scann==1.2.6 (from tflite-model-maker) (from versions: 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4)
ERROR: No matching distribution found for scann==1.2.6 (from tflite-model-maker)
ERROR: Ignored the following yanked versions: 3.4.11.39, 3.4.11.41, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.5.5.62, 4.7.0.68, 4.8.0.74
ERROR: Could not find a version that satisfies the requirement opencv-python-headless==4.1.2.30 (from versions: 3.4.10.37, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.64, 4.6.0.66, 4.7.0.72, 4.8.0.76, 4.8.1.78, 4.9.0.80, 4.10.0.82, 4.10.0.84)
ERROR: No matching distribution found for opencv-python-headless==4.1.2.30
Found existing installation: tensorflow 2.16.1
Uninstalling tensorflow-2.16.1:
Successfully uninstalled tensorflow-2.16.1
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.
tensorflow-decision-forests 1.9.1 requires tensorflow~=2.16.1, but you have tensorflow 2.8.0 which is incompatible.
tensorflow-serving-api 2.16.1 requires tensorflow<3,>=2.16.1, but you have tensorflow 2.8.0 which is incompatible.
tensorflow-text 2.16.1 requires tensorflow<2.17,>=2.16.1; platform_machine != "arm64" or platform_system != "Darwin", but you have tensorflow 2.8.0 which is incompatible.
tf-keras 2.16.0 requires tensorflow<2.17,>=2.16, but you have tensorflow 2.8.0 which is incompatible.`

I am using following code to install-

`!sudo apt -y install libportaudio2

!pip install -q --use-deprecated=legacy-resolver tflite-model-maker

!pip install -q pycocotools

!pip install -q opencv-python-headless==4.1.2.30

!pip uninstall -y tensorflow && pip install -q tensorflow==2.8.0`

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