dag_best_alignment: graph size is too small
Opened this issue · 5 comments
Hello, this is great work in NAT and I like it. I tried to modify the src-upsample-scale and make the lambda smaller, like 2 or 4. But it is raise an error: "dag_best_alignment.cu:68: calculate_maxalpha_kernel: block: [0,77,0], thread: [0,244,0] Assertion output_len >= target_len && "dag_best_alignment: graph size is too small (smaller than target length)"
failed."
Do you know how to fix this error? Thank you
Try filtering out samples that satisfying target length / source length > src_upsample_scale
in your dataset.
If you still have problem, please you specify the dataset and your training script?
@MeWannaSleep --src-upsample-scale
is an argument in previous version. You can now use --upsample-scale
and --decode-upsample-scale
to control the upsampling rate in training and inference, respectively.
If you met the same error, now you can use --filter-ratio
to automatically remove samples satisfying target length / source length > filter_ratio
or source length / target length > filter_ratio
. I recommend using a smaller filter-ratio
than upsample-scale
, e.g., --upsample-scale 4 --filter-ratio 2
@hzhwcmhf 大哥,能不能加个微信请教一下啊,这个项目我搞了快一周了就是跑不起来,求求了
@hzhwcmhf 大哥,能不能加个微信请教一下啊,这个项目我搞了快一周了就是跑不起来,求求了
你发个邮件到我邮箱吧 huangfei382@163.com 邮箱发你微信号