FormulaNet icon indicating copy to clipboard operation
FormulaNet copied to clipboard

An error about the code

Open AI-coder opened this issue 5 years ago • 0 comments

Hi, when I ran the batch_test.py, the command is " python batch_test.py --model FormulaNet-basic --log log_test.txt --dict_file data/dicts/hol_train_dict",but an error occured . The infomation is " size mismatch for l1.weight: copying a param with shape torch.Size([256, 1909]) from checkpoint, the shape in current model is torch.Size([1909, 256])." I am not major in pytorch ,so it will be very perfect if you can help me. Thanks!

AI-coder avatar Jun 05 '19 14:06 AI-coder