Closed moonikwe closed 6 years ago
Is this on your own dataset? The assertion error in data.py on line 103 seems to be the problem. Make sure you've set your number of classes to be equal to the list of classes in your dataset. If you can post more information about your dataset, I can probably help further.
you only need to fix assert len(label_hot) == len(self.classes) return label_hot as assert len(label_hot[0]) == len(self.classes) return label_hot[0] hope it works for you!
I am using your data and code, why is the same problem? i hope you answer.
chinese? ------------------ 原始邮件 ------------------ 发件人: "13293824182"notifications@github.com; 发送时间: 2018年6月29日(星期五) 晚上10:43 收件人: "harvitronix/five-video-classification-methods"five-video-classification-methods@noreply.github.com; 抄送: "JUST FOR YOU"752448068@qq.com; "Comment"comment@noreply.github.com; 主题: Re: [harvitronix/five-video-classification-methods] Error in train.py(#76)
I am using your data and code, why is the same problem? i hope you answer.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I ran train.py and this is what I got
What could have went wrong?