DiffDock icon indicating copy to clipboard operation
DiffDock copied to clipboard

TypeError: get_batch_converter() takes 1 positional argument but 2 were given

Open pramodkp opened this issue 3 years ago • 0 comments

I have installed diffdock from github and fair-esm from pip. unzip the esm into diffdock. I try to run the extract.py as given in the readme file . I am getting the error.

HOME=esm/model_weights python esm/scripts/extract.py esm2_t33_650M_UR50D data/prepared_for_esm.fasta data/esm2_output --repr_layers 33 --include per_tok

Traceback (most recent call last): File "/home/cadd/DiffDock-main/esm/scripts/extract.py", line 136, in main(args) File "/home/cadd/DiffDock-main/esm/scripts/extract.py", line 77, in main dataset, collate_fn=alphabet.get_batch_converter(args.truncation_seq_length), batch_sampler=batches TypeError: get_batch_converter() takes 1 positional argument but 2 were given

pramodkp avatar Nov 02 '22 09:11 pramodkp