MedSegDiff icon indicating copy to clipboard operation
MedSegDiff copied to clipboard

use DDIM error

Open xupinggl opened this issue 1 year ago โ€ข 5 comments

xupinggl avatar May 20 '23 11:05 xupinggl

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


Title: use NO error

Issues-translate-bot avatar May 20 '23 11:05 Issues-translate-bot

segmentation_sample.py๏ผŒI want to use DDIM to speed up, added the following code, but it reports an error, hope to get an answer โ€œ--use_ddim True --timestep_respacing ddim250โ€

RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

xupinggl avatar May 20 '23 11:05 xupinggl

File "/home/david/anaconda3/envs/py37tor181/lib/python3.7/site-packages/torch/cuda/streams.py", line 79, in record_event event.record(self) File "/home/david/anaconda3/envs/py37tor181/lib/python3.7/site-packages/torch/cuda/streams.py", line 154, in record super(Event, self).record(stream) RuntimeError: CUDA error: device-side assert triggered
Do you solve this question? I have same problem. I guess the author does not use DDIM before.

LiuTingWed avatar Sep 21 '23 15:09 LiuTingWed

ย  ย  ๆ‚จๅฅฝ๏ผŒๆ‚จ็š„้‚ฎไปถๆˆ‘ๅทฒๆ”ถๅˆฐ๏ผŒๆˆ‘ไผšๅฐฝๅฟซๅ›žๅค็š„๏ผŒ่ฐข่ฐข๏ผ

xupinggl avatar Sep 21 '23 15:09 xupinggl

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


โ€‹ โ€‹ Hello, I have received your email and I will reply as soon as possible, thank you!

Issues-translate-bot avatar Sep 21 '23 15:09 Issues-translate-bot