noureldien / timeception

Timeception for Complex Action Recognition, CVPR 2019 (Oral Presentation)
https://noureldien.com/research/timeception/
GNU General Public License v3.0
157 stars 33 forks source link

nan problem #12

Closed pzhren closed 5 years ago

pzhren commented 5 years ago

How to solve the nan problem in the test

noureldien commented 5 years ago

Hi, thanks for asking. I didn't experience any nan problem. Maybe you have a high learning rate.

noureldien commented 5 years ago

The metric function I got it from here https://github.com/gsig/charades-algorithms/blob/master/pytorch/utils/map.py

noureldien commented 5 years ago

Hi, Please note that for testing Charades, you only evaluate the entire test set, at the end of each training epoch. So, you can modify the code and define a new callback (for testing at the end of each epoch) and pass it to model.fit_generator.

Nour