modelscope / modelscope/DiffSynth-Studio

AttributeError: 'WanPrompter' object has no attribute 'tokenizer'

Open
#588 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.1k
Forks
1.3k
Avg merge
13h 12m
Merged PRs (30d)
45

Description

Hello.
Thank you for provide good project.
I like to train own wan2.1 lora.
So i try to use this project. but i faced error.
Could you help me to resolve problem?

command:
python ./DiffSynth-Studio/examples/wanvideo/train_wan_t2v.py --task data_process --dataset_path ./mp4 --output_path ./outputs --text_encoder_path ./models/umt5_xxl_fp16.safetensors --vae_path ./models/wan_2.1_vae.safetensors --image_encoder_path ./models/wan2.1_t2v_1.3B_fp16.safetensors --tiled --num_frames 81 --height 832 --width 480 --dataloader_num_workers 1

enviroument:
window

error msg:
AttributeError: 'WanPrompter' object has no attribute 'tokenizer'

Thank you!

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with examples/wanvideo/train_wan_t2v.py using the reported data_process command, then trace where WanPrompter is initialized and where its tokenizer attribute is accessed. Reproduce the AttributeError on Windows and verify that dataset processing completes without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.