Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InceptionV3 error #1585

Open
surafelamsalu21 opened this issue Apr 4, 2023 · 1 comment
Open

InceptionV3 error #1585

surafelamsalu21 opened this issue Apr 4, 2023 · 1 comment
Labels
stale Issues with no activity for a long time

Comments

@surafelamsalu21
Copy link

InvalidArgumentError Traceback (most recent call last)
Cell In[19], line 3
1 # fit the model
2 # Run the cell. It will take some time to execute
----> 3 r = model.fit(
4 training_set,
5 validation_data=test_set,
6 epochs=5,
7 steps_per_epoch=len(training_set),
8 validation_steps=len(test_set)
9 )

File ~/anaconda3/envs/shadow_iamge_classification/lib/python3.9/site-packages/tensorflow/python/keras/engine/training.py:1100, in Model.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)
1093 with trace.Trace(
1094 'train',
1095 epoch_num=epoch,
1096 step_num=step,
1097 batch_size=batch_size,
1098 _r=1):
1099 callbacks.on_train_batch_begin(step)
-> 1100 tmp_logs = self.train_function(iterator)
1101 if data_handler.should_sync:
1102 context.async_wait()
...
[[node sparse_categorical_crossentropy/SparseSoftmaxCrossEntropyWithLogits/SparseSoftmaxCrossEntropyWithLogits (defined at tmp/ipykernel_10677/3887908191.py:3) ]] [Op:__inference_train_function_12180]

Function call stack:
train_function

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale due to the lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues with no activity for a long time label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues with no activity for a long time
Projects
None yet
Development

No branches or pull requests

1 participant