VAC_CSLR icon indicating copy to clipboard operation
VAC_CSLR copied to clipboard

unable to run successfully when I run main.py

Open ethio-artifical opened this issue 1 year ago • 1 comments

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'

ethio-artifical avatar Mar 15 '23 20:03 ethio-artifical

You can check whether you successfully install ctcdecode.

ycmin95 avatar Mar 16 '23 01:03 ycmin95