chaoyuaw / pytorch-coviar

Compressed Video Action Recognition
https://www.cs.utexas.edu/~cywu/projects/coviar/
GNU Lesser General Public License v2.1
500 stars 126 forks source link

Issue during ./install.h #65

Open ananyahjha93 opened 5 years ago

ananyahjha93 commented 5 years ago

While doing the step ./install.h in the data loader, I get the following set of errors:

coviar_data_loader.c:431:9: error: void function 'count_frames' should not return a value [-Wreturn-type] return -1;
^ ~~ coviar_data_loader.c:436:9: error: void function 'count_frames' should not return a value [-Wreturn-type] return -1;
^ ~~ coviar_data_loader.c:443:9: error: void function 'count_frames' should not return a value [-Wreturn-type] return -1;
^ ~~ coviar_data_loader.c:448:9: error: void function 'count_frames' should not return a value [-Wreturn-type] return -1;
^ ~~ coviar_data_loader.c:455:9: error: void function 'count_frames' should not return a value [-Wreturn-type] return -1;
^ ~~ coviar_data_loader.c:496:5: error: void function 'count_frames' should not return a value [-Wreturn-type] return 0;

Do I change the return type of count_frames function to int? Based on the usage of the function, it doesn't seem that this change will affect the behaviour of the code.

youqingxiaozhua commented 3 years ago

same problem...