dkollias / Aff-Wild-models

78 stars 19 forks source link

How to run it in tensorflow 2.0? #3

Open weishaoah opened 4 years ago

weishaoah commented 4 years ago

Hi, I am new to deep learning. And I tried to run the model in tensorflow 2.0, but some functions, such as tf.contrib.slim cannot work any more. How can I solve it? Thanks

weishaoah commented 4 years ago

Sry to disturb you, I have uninstalled 2.0 and choosed 1.15, may be it will work.

weishaoah commented 4 years ago

Another question: should I split every video into frame images? And to train? Can I just use the model to predict valence/arousal values in pictures or videos? Look forward to your reply!^~^

boazvetter commented 4 years ago

You could try tensorflows auto upgrade script - https://www.tensorflow.org/guide/upgrade

Also, if you use tensorflow<2, use 1.8 as explained in the readme.md