asticode / go-asticoqui

Golang bindings for Coqui's speech-to-text library
MIT License
34 stars 4 forks source link

go get -u github.com/asticode/go-asticoqui/... errors #6

Closed vinniyo closed 2 years ago

vinniyo commented 2 years ago

Trying to install on raspberry pi. Has anyone sucessfully installed on a PI? Maybe there's not enough memory.

go/src/github.com/asticode/go-asticoqui/coqui.go:125:11: type [1073741824]TokenMetadata larger than address space go/src/github.com/asticode/go-asticoqui/coqui.go:125:11: type [1073741824]TokenMetadata too large go/src/github.com/asticode/go-asticoqui/coqui.go:145:11: type [1073741824]CandidateTranscript larger than address space go/src/github.com/asticode/go-asticoqui/coqui.go:145:11: type [1073741824]CandidateTranscript too large

Nimesh-Srivastava commented 2 years ago

Same error here. I have 4.2 GB available on RPi 4 but this file just does not download. Haven't found a solution as of now.

asticode commented 2 years ago

Could you try adding @address-too-large at the end of your go get command (it should be right after the name of the repo without any space in between) and tell me whether it works better ?

Nimesh-Srivastava commented 2 years ago

Could you try adding @address-too-large at the end of your go get command (it should be right after the name of the repo without any space in between) and tell me whether it works better ?

This does seem to resolve the issue, although I had to change go get as well as go install commands.

Thanks ✌🏼

asticode commented 2 years ago

FYI I've merged the fix in master therefore you should go get without @ now 👍