GuyHacohen / curriculum_learning

Code implementing the experiments described in the paper "On The Power of Curriculum Learning in Training Deep Networks" by Hacohen & Weinshall (ICML 2019)
GNU General Public License v3.0
106 stars 25 forks source link

Shape mismatch #5

Open gust0717 opened 4 years ago

gust0717 commented 4 years ago

Hello there. I'm currently studying Curriculum Learning and trying to replicate your experiment on case 1. Upon running curriculum_small_mammals(...), I've been stuck in a shape mismatch error when calculating the hardness scores. Any thoughts on how to fix this?

image

vinusankars commented 4 years ago

All you have to do is edit datasets/cifar100_subset.py. Please change line 27 to self.data_dir = "./data/cifar_100_superclass_16/".