Skip to content

error loading training data #22

Description

@kateriw-art

System Info / 系統信息

ValueError: The image to be converted to a PIL image contains values outside the range [0, 1], got [-1.0, 1.0] which cannot be converted to uint8.

Enountered issue loading example dataset: --dataset_subset data_1024_10K

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

  1. cloned repo
  2. installed requirements
  3. tested cli:
    python finetune_lora.py --model_path --dataset_subset data_1024_10K --output_dir ./outputs/glm-image-lora --num_epochs 5 --batch_size 4 --lora_rank 32

Expected behavior / 期待表现

Expected lora to begin training :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions