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

unable to run successfully when I run main.py #30

Open
ethio-artifical opened this issue Mar 15, 2023 · 1 comment
Open

unable to run successfully when I run main.py #30

ethio-artifical opened this issue Mar 15, 2023 · 1 comment

Comments

@ethio-artifical
Copy link

ethio-artifical commented Mar 15, 2023

i got an error when i run the main,py

have got the same problem guys like this???

Traceback (most recent call last):
File "F:\code\VAC_CSLR-main1\main.py", line 219, in
processor = Processor(args)
File "F:\code\VAC_CSLR-main1\main.py", line 33, in init
self.model, self.optimizer = self.loading()
File "F:\code\VAC_CSLR-main1\main.py", line 99, in loading
model = model_class(
File "F:\code\VAC_CSLR-main1\slr_network.py", line 52, in init
self.decoder = utils.Decode(gloss_dict, num_classes, 'beam')
File "F:\code\VAC_CSLR-main1\utils\decode.py", line 19, in init
self.ctc_decoder = ctcdecode.CTCBeamDecoder(vocab, beam_width=10, blank_id=blank_id,
AttributeError: module 'ctcdecode' has no attribute 'CTCBeamDecoder'

@ycmin95
Copy link
Collaborator

ycmin95 commented Mar 16, 2023

You can check whether you successfully install ctcdecode.

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

2 participants