[Tutor] error message

Diana Katz diana.katz at gmail.com
Fri Apr 14 21:18:03 EDT 2023


I have everything installed to run an AI program and I’m getting a bunch of
error messages. What do these mean/what should I do?


> C:\Users\merma\PycharmProjects\pythonProject1\venv\Scripts\python.exe
> C:\Users\merma\PycharmProjects\pythonProject1\main.py
> Found 0 images belonging to 0 classes.
> 2023-04-14 21:10:11.839560: W
> tensorflow/tsl/framework/cpu_allocator_impl.cc:83] *Allocation of
> 29491200 exceeds 10% of free system memory.*
> 2023-04-14 21:10:11.871621: W
> tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 29491200
> exceeds 10% of free system memory.
> 2023-04-14 21:10:11.881745: W
> tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 29491200
> exceeds 10% of free system memory.
> Traceback (most recent call last):
>   File "C:\Users\merma\PycharmProjects\pythonProject1\main.py", line 46,
> in <module>
>     history = model.fit(
>               ^^^^^^^^^^
>   File
> "C:\Users\merma\PycharmProjects\pythonProject1\venv\Lib\site-packages\keras\utils\traceback_utils.py",
> line 70, in error_handler
>     raise e.with_traceback(filtered_tb) from None
>   File
> "C:\Users\merma\PycharmProjects\pythonProject1\venv\Lib\site-packages\keras\preprocessing\image.py",
> line 103, in __getitem__
>     raise ValueError(
> ValueError: *Asked to retrieve element 0, but the Sequence has length 0*
>
> Process finished with exit code 1
>
>
> -
>


More information about the Tutor mailing list