Open edwincm opened 4 years ago
Try the following code for inference
frames = get_frames("your dir", "fi324_xvid.avi")
transfer_values = image_model_transfer.predict(frames)
model.predict(transfer_values.reshape((1,20,-1)))
which returns
array([[0.9947391, 0.0052609]], dtype=float32)
No sorry, this repo is a bit outdated, it is a old code not structured correctly.