Type error transfer learning scaled up #570
Unanswered
arthurhsia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting this error in the module "fine tuning scaled up", please advise on how to fix.... thanks
It runs 1 epoch and then fails.
fine_tune_epochs = 10
history_all_classes_10_percent_fine_tune = model.fit(train_data_all_10_percent,
epochs = fine_tune_epochs,
validation_data = test_data,
validation_steps = int(0.15*len(test_data)),
initial_epoch = history_all_classes_10_percent.epoch[-1])
Epoch 5/10
237/237 [==============================] - ETA: 0s - loss: 0.6560 - accuracy: 0.8162
TypeError Traceback (most recent call last)
in <cell line: 5>()
3 fine_tune_epochs = 10
4
----> 5 history_all_classes_10_percent_fine_tune = model.fit(train_data_10_percent,
6 epochs = fine_tune_epochs,
7 steps_per_epoch = len(train_data_10_percent),
1 frames
/usr/local/lib/python3.10/dist-packages/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
1727 steps_per_execution=self._steps_per_execution,
1728 )
-> 1729 val_logs = self.evaluate(
1730 x=val_x,
1731 y=val_y,
TypeError: 'list' object is not callable
Beta Was this translation helpful? Give feedback.
All reactions