Open gt-madanb opened 3 years ago
As seen from the printing of EXTERNAL_TEST ['0X1AADD51FAA94E4E.avi', '0X1AB987597AF39E3B.avi', '0X1ABAD3C70E6D0F27.avi', '0X1ABE578AF99E8F3E.avi', '0X1ACB73BE8C1F2C0C.avi', '0X1ACC87A912A57EDA.avi', '0X1AD23DC4055A4B6A.avi', '0X1AD3CDEC841DA50.avi', '0X1ADDEA184822F38E.avi', '0X1ADEAFA4D59610C8.avi', 'avi']
, you likely have some subfolder called avi
in your videos folder, and the dataset initialization is treating it as a video file thus leading it to believe that the frame height and width is 0. Move the folder out and you should be good.
This part is the culprit:
if self.split == "EXTERNAL_TEST":
self.fnames = sorted(os.listdir(self.external_test_location))
Should be a simple fix to only look for files that end in ".avi". Can mention this in a pull request in the future.
Thank you for the wonderful repo. I am trying to do an external test with echonet dynamic dataset.