modelscope / modelscope/DiffSynth-Studio
AttributeError: 'WanPrompter' object has no attribute 'tokenizer'
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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