tensorflow / tensorflow/models

Invalid SOS parameters for sequential JPEG crashing colab sessions

Open
#10,003 1 comment 0 reactions 3 assignees View on GitHub

Nobody has claimed this yet.

models:research:odapi type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

So I was trying to train an SSD model to detect my small brother in images. All my images are in jpeg and when I try and run the model_main_tf2.py file (which starts the training) it shows some jebrish and after some time it starts logging the phrase: Invalid SOS parameters for sequential JPEG. This continues and I see my ram getting filled up and eventually crashing my whole session and stopping the training process. What do I do?

the output:
image

2021-05-17 13:27:55.968662: I TensorFlow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency: 2299995000 Hz
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
Invalid SOS parameters for sequential JPEG
^C

I after searching google for a long I saw that there was some reference to the usage of pics taken from Samsung phones, so could anyone elaborate on that a bit?

EDIT: I saw that reducing the batch size to 4 helped me solve the crashing problem but I still don't know why it is happening. So could anyone please tell me why it could be happening?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.