mindspore-lab / mindone

one for all, Optimal generator with No Exception
https://mindspore-lab.github.io/mindone/
Apache License 2.0
356 stars 70 forks source link

RuntimeError: The pointerThost tensor is null. (when training t2i-adapter) #692

Open flyywh opened 3 hours ago

flyywh commented 3 hours ago

Thanks for sending an issue! Here are some tips for you:

If this is your first time, please read our contributor guidelines: https://github.com/mindspore-ai/mindspore/blob/master/CONTRIBUTING.md

Hardware Environment | 硬件环境

Software Environment | 软件环境

Describe the current behavior | 目前输出

RuntimeError: The pointerThost tensor is null. This exception is caused by framework's unexpected error.

Describe the expected behavior | 期望输出

please describe expected outputs or functions you want to have: 请告诉我们您期望得到的结果或功能 正常运行,开始训练

Steps to reproduce the issue | 复现报错的步骤

  1. cd examples/t2i_adapter/
  2. python train_t2i_adapter_sd.py \ --config configs/sd_v2.1_train.yaml \ --train.dataset.init_args.image_dir ./data_all/train2017_RGB \ --train.dataset.init_args.masks_path ./data_all/train2017_RGB_Mask \ --train.dataset.init_args.label_path ./data_all/annotations/captions_train2017.json \ --train.output_dir ./outputs

Related log / screenshot | 完整日志

temp

Special notes for this issue | 其他信息

flyywh commented 3 hours ago

Add MindSpore Version Info.