Browse Source

nonsense fix >.<

Dimitri Korsch 4 năm trước cách đây
mục cha
commit
830e21e23b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/model_tests/pretrained_tests.py

+ 1 - 1
tests/model_tests/pretrained_tests.py

@@ -39,7 +39,7 @@ class PretrainedTests(unittest.TestCase):
 		with self.mem_file() as f:
 			npz.save_npz(f, model)
 			f.seek(0)
-			new_model.load_for_finetune(f, n_classes=200)
+			new_model.load_for_inference(f, n_classes=200)
 
 		self.assertTrue(test_utils.is_all_equal(model, new_model, strict=True))