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
Run example (https://github.com/hiyouga/LLaMA-Factory/blob/v0.9.2/examples/train_lora/qwen2vl_lora_sft.yaml) where the training arg `dataset_dir` is absolute path not under current directory.
Sample error logs:
File "/mnt/conda-volume//lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3073, in map
for rank, done, content in Dataset._map_single(**dataset_kwargs):
File "/mnt/conda-volume//lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3476, in _map_single
batch = apply_function_on_filtered_inputs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/datasets/arrow_dataset.py", line 3338, in apply_function_on_filtered_inputs
processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/llamafactory/data/processor/supervised.py", line 99, in preprocess_dataset
input_ids, labels = self._encode_data_example(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/llamafactory/data/processor/supervised.py", line 43, in _encode_data_example
messages = self.template.mm_plugin.process_messages(prompt + response, images, videos, audios, self.processor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/llamafactory/data/mm_plugin.py", line 1131, in process_messages
mm_inputs = self._get_mm_inputs(images, videos, audios, processor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/llamafactory/data/mm_plugin.py", line 1095, in _get_mm_inputs
images = self._regularize_images(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/llamafactory/data/mm_plugin.py", line 161, in _regularize_images
image = Image.open(image)
^^^^^^^^^^^^^^^^^
File "/mnt/conda-volume//lib/python3.11/site-packages/PIL/Image.py", line 3465, in open
fp = builtins.open(filename, "rb")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'mllm_demo_data/1.jpg'
Others
No response
The text was updated successfully, but these errors were encountered:
Reminder
System Info
Reproduction
Sample error logs:
Others
No response
The text was updated successfully, but these errors were encountered: