-
Notifications
You must be signed in to change notification settings - Fork 17
Data loading consistency in training and testing #4
Description
Dear author,
Thank you for your hard work on this project!
In data_loader.py, I found there is different output values in event_time_image when I set
data = EventData('xxxx/mvsec/', 'train') and
data = EventData('xxxx/mvsec/', 'test').
Particularly, in training mode, if you run data_loader.py alone, there will be output values around "448" for variable a. However, in testing mode, the values are around "1.5" for the same variable.
I checked the code and found that here:
https://github.com/Cyril-Sterling/EVFlowNet-pytorch/blob/fdd800d0fc546cf63c516c59b478be04ed3b5d4b/src/data_loader.py#L105
You multiply event time image by 255; However in testing mode, you directly concatenate event count image and event time image together.
When I run your original code, the network almost learns nothing... I wonder if the above issue caused the problem?
Thank you!