Open Derrick-Gilchrist opened 3 years ago
data = ImageClassifierData.from_paths(PATH, tfms=tfms_from_model(arch, size), bs=batch_size) try: learn = ConvLearner.pretrained(arch, data, precompute=True) except: learn = ConvLearner.pretrained(arch, data, precompute=True)
This was the code. Could anyone help me to address this issue!
data = ImageClassifierData.from_paths(PATH, tfms=tfms_from_model(arch, size), bs=batch_size) try: learn = ConvLearner.pretrained(arch, data, precompute=True)
except: learn = ConvLearner.pretrained(arch, data, precompute=True)
This was the code. Could anyone help me to address this issue!