|
|
|
@ -194,10 +194,10 @@ def evaluate(args):
|
|
|
|
|
am_inference = jit.to_static(
|
|
|
|
|
am_inference,
|
|
|
|
|
input_spec=[
|
|
|
|
|
InputSpec([-1], dtype=paddle.int64), # text
|
|
|
|
|
InputSpec([-1], dtype=paddle.int64), # tone
|
|
|
|
|
None, # duration
|
|
|
|
|
InputSpec([-1], dtype=paddle.int64) # spk_id
|
|
|
|
|
InputSpec([-1], dtype=paddle.int64), # text
|
|
|
|
|
InputSpec([-1], dtype=paddle.int64), # tone
|
|
|
|
|
InputSpec([1], dtype=paddle.int64), # spk_id
|
|
|
|
|
None # duration
|
|
|
|
|
])
|
|
|
|
|
else:
|
|
|
|
|
am_inference = jit.to_static(
|
|
|
|
|