Skip to content

After 51 epoch stop iteration error #23

@Jaswanth1177

Description

@Jaswanth1177

I am running this code. In the model.fit() cell, after 51 epoch stop iteration error occured. The error is shown below:

[mpeg1video @ 0x7fc7dc041980] ac-tex damaged at 22 17
[mpeg1video @ 0x7fc7dc041980] Warning MVs not available

StopIteration Traceback (most recent call last)
Cell In[47], line 1
----> 1 model.fit(train, validation_data=test, epochs=100, callbacks=[checkpoint_callback, schedule_callback, example_callback])

File /opt/conda/lib/python3.10/site-packages/keras/utils/traceback_utils.py:70, in filter_traceback..error_handler(*args, **kwargs)
67 filtered_tb = _process_traceback_frames(e.traceback)
68 # To get the full stack trace, call:
69 # tf.debugging.disable_traceback_filtering()
---> 70 raise e.with_traceback(filtered_tb) from None
71 finally:
72 del filtered_tb

Cell In[42], line 6, in ProduceExample.on_epoch_end(self, epoch, logs)
5 def on_epoch_end(self, epoch, logs=None) -> None:
----> 6 data = self.dataset.next()
7 yhat = self.model.predict(data[0])
8 decoded = tf.keras.backend.ctc_decode(yhat, [75,75], greedy=False)[0][0].numpy()

StopIteration:

Please help to resolve this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions