You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue that may come up very rarely but I wanted to share it anyway. I basically have corrupted png files and this causes the program to exit. Maybe making a rule that jumps those file would make sense but it's still a rare case. Otherwise all good, works wonders and the software is very useful already, thank you QiuYannnn!
Here is what the error looks like:
Processing irspectra (2).png ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:00
Traceback (most recent call last):
File "D:\AI file organizer\Local-File-Organizer\main.py", line 337, in
main()
File "D:\AI file organizer\Local-File-Organizer\main.py", line 251, in main
data_images = process_image_files(image_files, image_inference, text_inference, silent=silent_mode, log_file=log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 59, in process_image_files
data = process_single_image(image_path, image_inference, text_inference, silent=silent, log_file=log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 36, in process_single_image
foldername, filename, description = generate_image_metadata(image_path, progress, task_id, image_inference, text_inference)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 71, in generate_image_metadata
description_generator = image_inference._chat(description_prompt, image_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\nexa_inference_vlm.py", line 332, in _chat
return self.model.create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\llama\llama.py", line 1912, in create_chat_completion
return handler(
^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\llama\llama_chat_format.py", line 2842, in call
if llama.n_tokens + embed.contents.n_image_pos > llama.n_ctx():
^^^^^^^^^^^^^^
ValueError: NULL pointer access
The text was updated successfully, but these errors were encountered:
This is an issue that may come up very rarely but I wanted to share it anyway. I basically have corrupted png files and this causes the program to exit. Maybe making a rule that jumps those file would make sense but it's still a rare case. Otherwise all good, works wonders and the software is very useful already, thank you QiuYannnn!
Here is what the error looks like:
Processing irspectra (2).png ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:00
Traceback (most recent call last):
File "D:\AI file organizer\Local-File-Organizer\main.py", line 337, in
main()
File "D:\AI file organizer\Local-File-Organizer\main.py", line 251, in main
data_images = process_image_files(image_files, image_inference, text_inference, silent=silent_mode, log_file=log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 59, in process_image_files
data = process_single_image(image_path, image_inference, text_inference, silent=silent, log_file=log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 36, in process_single_image
foldername, filename, description = generate_image_metadata(image_path, progress, task_id, image_inference, text_inference)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI file organizer\Local-File-Organizer\image_data_processing.py", line 71, in generate_image_metadata
description_generator = image_inference._chat(description_prompt, image_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\nexa_inference_vlm.py", line 332, in _chat
return self.model.create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\llama\llama.py", line 1912, in create_chat_completion
return handler(
^^^^^^^^
File "C:\Users\name\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa\gguf\llama\llama_chat_format.py", line 2842, in call
if llama.n_tokens + embed.contents.n_image_pos > llama.n_ctx():
^^^^^^^^^^^^^^
ValueError: NULL pointer access
The text was updated successfully, but these errors were encountered: