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

how to train action recognization? #92

Open
Z0Victor opened this issue Dec 18, 2023 · 1 comment
Open

how to train action recognization? #92

Z0Victor opened this issue Dec 18, 2023 · 1 comment

Comments

@Z0Victor
Copy link

Thanks to your exciting work :), But i got few questions about your action recognize model:

  1. how do you prepare your dataset, and how to train it?
  2. Is the dataset that you use not large enough? I runned this code to predict a scene of a man fall down with people around, but the result showed that it is a high rate to miss or wrong recognize
@Z0Victor
Copy link
Author

I know how to train it right now, but I used your .csv file without modify any of your code and faced confuse problem. After training, I can't load the weight file I have trained, the error print: model = load_model('framewise_recognition_trained_myself.h5')
File "D:\Anaconda3\lib\site-packages\keras\engine\saving.py", line 264, in load_model
load_weights_from_hdf5_group(f['model_weights'], model.layers)
File "D:\Anaconda3\lib\site-packages\keras\engine\saving.py", line 901, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 7 layers into a model with 0 layers.

DKW :( ,could you tell me.

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