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

Trying to get tts to load text from a file and size limitations #6

Open
jpcookie opened this issue Oct 17, 2021 · 0 comments
Open

Trying to get tts to load text from a file and size limitations #6

jpcookie opened this issue Oct 17, 2021 · 0 comments

Comments

@jpcookie
Copy link

i'm interested in creating a wav like you did from the input but it seems to be quite limited on the amount of text it can load. Plus I'm looking for file loading. I tried to do a larger text but got:

[TensorRT] ERROR: 3: [executionContext.cpp::setBindingDimensions::969] Error Code 3: Internal Error (Parameter check failed at: runtime/api/executionContext.cpp::setBindingDimensions::969, condition: profileMaxDims.d[i] >= dimensions.d[i]. Supplied binding dimension [1,80,2378] for bindings[0] exceed min ~ max range at index 2, maximum dimension in profile is 1024, minimum dimension in profile is 1, but supplied dimension is 2378.
)
Traceback (most recent call last):
File "tts2.py", line 90, in
audio = tts(args.text)
File "/jetson-voice/jetson_voice/models/tts/tts_engine.py", line 81, in call
audio = self.vocoder.execute(mels)
File "/jetson-voice/jetson_voice/backends/tensorrt/trt_model.py", line 114, in execute
setup_binding(self.bindings[idx], input)
File "/jetson-voice/jetson_voice/backends/tensorrt/trt_model.py", line 109, in setup_binding
binding.set_shape(input.shape)
File "/jetson-voice/jetson_voice/backends/tensorrt/trt_binding.py", line 80, in set_shape
raise ValueError(f"failed to set binding '{self.name}' with shape {shape}")
ValueError: failed to set binding 'mels' with shape (1, 80, 2378)
[TensorRT] INFO: [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 2308, GPU 3704 (MiB)

tts2.py is just copying the tts.py and adding a longer string and naming it something else.

How does one increase the size so it's not that limited?

Thanks for the help in advance.

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