桐原因

Results 63 comments of 桐原因

workerlog.0日志 ``` ---------------------- Error Message Summary: ---------------------- FatalError: `Process abort signal` is detected by the operating system. [TimeInfo: *** Aborted at 1651162139 (unix time) try "date -d @1651162139" if you...

你好,请问你是如何拆分spans,按照句子级还是段落级的

![image](https://user-images.githubusercontent.com/43271630/103077658-27b9ba80-460b-11eb-9fce-b00681bbe80d.png)

linux环境下 运行run_hotpotqa.py 会出这个错误 但是在window环境下没有问题

`if args.status == 'train': model = nn.DataParallel(model, device_ids=[0, 1]) device = [0, 1] if torch.cuda.device_count() > 1 else [0] trainer = Trainer(datasets['train'], model, optimizer, loss, args.batch, n_epochs=args.epoch, dev_data=datasets['dev'], metrics=metrics, callbacks=callbacks,...

上面的代码会报错,RuntimeError: The size of tensor a (94) must match the size of tensor b (214) at non-singleton dimension 1 当然代码是通的,其他语料训练的时候单GPU可以运行。

![image](https://user-images.githubusercontent.com/43271630/156382427-b3086343-70d3-4347-b1ba-fbd68dc34afc.png) ![image](https://user-images.githubusercontent.com/43271630/156382454-5a79a563-15f6-41b0-b3cb-e0693500249c.png)

@HuStanding @currylym 修改这里就好了 其他报错应该是是没修好导致的

> Hi,Can you share the files under your index-robust04-20191213 folder, please?

https://github.com/LeeSureman/Flat-Lattice-Transformer