google-deepmind / kinetics-i3d

Convolutional neural network model for video classification trained on the Kinetics dataset.
Apache License 2.0
1.75k stars 464 forks source link

Problem with dependencies #67

Closed v-kogr closed 5 years ago

v-kogr commented 5 years ago

Can you give your TF, Sonnet, CUDA and CuDNN versions? I have problems with making it works.

v-kogr commented 5 years ago

Problem has been solved: -tensorflow-gpu==1.14.0 -tensorflow-probability==0.7.0 -dm-sonnet==1.34 -CUDA==10.0 -CuDNN==7.4.1

joaoluiscarreira commented 5 years ago

Thanks for figuring this out!

On Fri, Jul 5, 2019 at 10:59 PM v-kogr notifications@github.com wrote:

Problem has been solved: -tensorflow-gpu==1.14.0 -tensorflow-probability==0.7.0 -dm-sonnet==1.34 -CUDA==10.0 -CuDNN==7.4.1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deepmind/kinetics-i3d/issues/67?email_source=notifications&email_token=ADXKU2TOCOAO66DTCUZIN3LP5675TA5CNFSM4H6LF5P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZKL2NI#issuecomment-508869941, or mute the thread https://github.com/notifications/unsubscribe-auth/ADXKU2WPYMXGFU34L6XKAKDP5675TANCNFSM4H6LF5PQ .

NagabhushanSN95 commented 5 years ago

Thanks for posting the solution here. It would be good if the authors put a requirements.txt file in the repo.

Nadern96 commented 4 years ago

Thanks for posting the solution . but i still have a problem with installing CUDA and CuDNN. Could not find a version that satisfies the requirement CUDA==10.0 what should i do ?

AlexanderMelde commented 4 years ago

Problem has been solved: -tensorflow-gpu==1.14.0 -tensorflow-probability==0.7.0 -dm-sonnet==1.34 -CUDA==10.0 -CuDNN==7.4.1

for me installing like this also worked: pip install "tensorflow-gpu<2" "dm-sonnet<2" "tensorflow-probability==0.7.0" with dm-sonnet currently being version 1.36 and tensorflow version 1.15.2.

AnaRhisT94 commented 2 years ago

Having this issue:

attempted relative import beyond top-level package

During handling of the above exception, another exception occurred:

  File "/home/kinetics-i3d/i3d.py", line 28, in <module>
    import tensorflow as tf

My pip3 freeze:

absl-py==1.0.0
argon2-cffi==20.1.0
astor==0.8.1
astroid==2.4.2
astunparse==1.6.3
async-generator==1.10
attrs==20.2.0
awscli==1.18.155
backcall==0.2.0
bleach==3.2.1
blis==0.7.5
bokeh==2.2.1
boto==2.49.0
boto3==1.15.14
botocore==1.18.14
cached-property==1.5.2
cachetools==5.0.0
catalogue==1.0.0
certifi==2020.6.20
cffi==1.14.3
chardet==3.0.4
click==8.0.3
clip @ git+https://github.com/openai/CLIP.git@40f5484c1c74edd83cb9cf687c6ab92b28d8b656
cloudpickle==1.1.1
cmake==3.18.2.post1
colorama==0.4.3
contextlib2==21.6.0
coremltools==3.4
cpplint==1.5.4
cycler==0.10.0
cymem==2.0.6
Cython==0.29.21
decorator==4.4.2
defusedxml==0.6.0
dm-sonnet==1.34
dm-tree==0.1.6
docutils==0.15.2
entrypoints==0.3
environment-kernels==1.1.1
errant==2.3.0
filelock==3.6.0
flatbuffers==2.0
fsspec==2022.1.0
ftfy==6.1.1
fuzzywuzzy==0.18.0
gast==0.2.2
google-auth==2.6.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
gramformer @ git+https://github.com/PrithivirajDamodaran/Gramformer.git@615e1be5c24652812dc140fbe4c9ee08ed45711a
graphs==0.1.3
graphviz==0.14.2
grpcio==1.43.0
h5py==2.10.0
huggingface-hub==0.4.0
idna==2.10
imageio==2.9.0
importlib-metadata==4.11.1
ipykernel==5.3.4
ipython==7.18.1
ipython-genutils==0.2.0
ipywidgets==7.5.1
isort==5.5.4
jedi==0.17.2
Jinja2==2.11.2
jmespath==0.10.0
joblib==0.17.0
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.1.7
jupyter-console==6.2.0
jupyter-core==4.6.3
jupyterlab-pygments==0.1.2
keras==2.8.0
Keras-Applications==1.0.8
keras-nightly==2.9.0.dev2022021708
Keras-Preprocessing==1.1.2
kiwisolver==1.2.0
langcodes==3.3.0
lazy-object-proxy==1.4.3
libclang==13.0.0
lxml==4.5.2
Markdown==3.3.6
MarkupSafe==1.1.1
matplotlib==3.3.2
mccabe==0.6.1
mistune==0.8.4
mpmath==1.1.0
murmurhash==1.0.6
nbclient==0.5.0
nbconvert==6.0.7
nbformat==5.0.7
nest-asyncio==1.4.1
networkx==1.8.1
notebook==6.1.4
numpy==1.18.5
nvidia-ml-py==10.418.84
oauthlib==3.2.0
opencv-python==4.4.0.44
opt-einsum==3.3.0
packaging==20.4
pandas==1.1.3
pandocfilters==1.4.2
parso==0.7.1
pathy==0.6.1
pexpect==4.8.0
pickleshare==0.7.5
Pillow==7.2.0
plac==1.1.3
preshed==3.0.6
prometheus-client==0.8.0
prompt-toolkit==3.0.7
protobuf==3.13.0
ptyprocess==0.6.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
pydantic==1.8.2
pygal==2.4.0
Pygments==2.7.1
PyJWT==2.3.0
pylint==2.6.0
pyparsing==2.4.7
pyrsistent==0.17.3
python-arango==7.3.1
python-dateutil==2.8.1
python-Levenshtein==0.12.2
pytz==2020.1
PyWavelets==1.1.1
PyYAML==5.3.1
pyzmq==19.0.2
qtconsole==4.7.7
QtPy==1.9.0
regex==2022.1.18
requests==2.24.0
requests-oauthlib==1.3.1
requests-toolbelt==0.9.1
rogue==0.0.2
rsa==4.5
s3transfer==0.3.3
sacremoses==0.0.47
scikit-image==0.17.2
scikit-learn==0.23.2
scipy==1.5.2
semantic-version==2.9.0
Send2Trash==1.5.0
sentencepiece==0.1.96
setuptools-scm==6.4.2
six==1.16.0
smart-open==5.2.1
sonnet==0.1.6
spacy==2.3.7
spacy-legacy==3.0.8
spacy-loggers==1.0.1
srsly==1.0.5
sympy==1.6.2
tabulate==0.8.9
tb-nightly==2.9.0a20220217
tensorboard==1.14.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-estimator==1.14.0
tensorflow-gpu==1.14.0
tensorflow-io-gcs-filesystem==0.24.0
tensorflow-probability==0.7.0
termcolor==1.1.0
terminado==0.9.1
testpath==0.4.4
tf-estimator-nightly==2.8.0.dev2021122109
thinc==7.4.5
threadpoolctl==2.1.0
tifffile==2020.10.1
tokenizers==0.11.5
toml==0.10.1
tomli==2.0.1
torch==1.10.2
torchvision==0.11.3
tornado==6.0.4
tqdm==4.62.3
traitlets==5.0.4
transformers==4.16.2
typed-ast==1.4.1
typer==0.4.0
typing-extensions==3.7.4.3
urllib3==1.25.11
wasabi==0.9.0
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==2.0.3
widgetsnbextension==3.5.1
wrapt==1.12.1
zipp==3.3.0
AnaRhisT94 commented 2 years ago

Looks like pip install "tensorflow-gpu<2" "dm-sonnet<2" "tensorflow-probability==0.7.0" solved it. but I'm not sure how because I tried this before. I guess after uninstalling and installing everything it worked.