escorciav / deep-action-proposals

Action Proposals generated by deep models
MIT License
28 stars 6 forks source link

Simplify compute priors #11

Open escorciav opened 8 years ago

escorciav commented 8 years ago

compute_priors function on data_generation module is a little bit convoluted. The matching of priors to segments should be on other function because we will end-up duplicating code if all the segments of the dataset are not used to compute priors. That is the case of ActivityNet where there is an explicit validation set.

Similar refactoring should be done on tool create_dataset.py