Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练出错RuntimeError: ACL stream synchronize failed. #388

Open
xiaofei624 opened this issue Aug 31, 2022 · 0 comments
Open

训练出错RuntimeError: ACL stream synchronize failed. #388

xiaofei624 opened this issue Aug 31, 2022 · 0 comments

Comments

@xiaofei624
Copy link

Traceback (most recent call last):
File "train.py", line 195, in
amp=args.amp)
File "train.py", line 98, in train_net
multiclass=True)
File "/home/ma-user/work/xff/output/Pytorch-UNet-master_msft/utils/dice_score.py", line 42, in dice_loss
return 1 - fn(input, target, reduce_batch_first=True)
File "/home/ma-user/work/xff/output/Pytorch-UNet-master_msft/utils/dice_score.py", line 33, in multiclass_dice_coeff
dice += dice_coeff(input[:, channel, ...], target[:, channel, ...], reduce_batch_first, epsilon)
File "/home/ma-user/work/xff/output/Pytorch-UNet-master_msft/utils/dice_score.py", line 16, in dice_coeff
if sets_sum.item() == 0:
RuntimeError: ACL stream synchronize failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant