rozumden / FMODetect

[ICCV 2021] FMODetect: Robust Detection of Fast Moving Objects
https://github.com/rozumden/FMODetect
MIT License
44 stars 5 forks source link

ValueError: Unknown layer: Functional #1

Closed OliviaZhang1996 closed 5 months ago

OliviaZhang1996 commented 2 years ago

Hi, Rozumnyi. Excellent work! Can you provide the versions of your tensorflow, keras and h5py? Cause I meet the issue of "ValueError: Unknown layer: Functional" when loading the FMODetect.h5 model at the 25 line of run.py. Thanks a lot.

rozumden commented 2 years ago

Hi @olivia1823,

Thank you! I'm sorry for the late answer (due to some personal reasons). Below I provide the versions: tensorflow==1.13.1 tf.keras is the default one in this TensorFlow version h5py==2.6.0

I believe the model loading will not work with other Tensorflow versions, unfortunately. Please let me know if this works.

ItsMeAbby commented 2 years ago

hi @rozumden The issue still prevails. Model is not being load. Btw, pip install h5py==2.6.0 didn't work, used conda install -c clg_boar h5py

wild10 commented 1 year ago

is someone who reproduces the experiments? or had successfully run the inference? if so please could you share with me the weights of the model

wild10 commented 1 year ago

after sometime i run again successfully this using this setting. python 3.7.4, h5py 2.10.0, tensorflow 2.11.0 and imageio 2.6.0, hope this help :)

StephenZhao1 commented 5 months ago

anyone reimplement this algorithm with pytorch?