iMED-Lab / OCTA-Net-OCTA-Vessel-Segmentation-Network

Apache License 2.0
116 stars 21 forks source link

Program running problems程序运行问题 #15

Closed Pantherk1 closed 2 years ago

Pantherk1 commented 2 years ago

我运行了front_main.py,报错 1649939760(1) Traceback (most recent call last): File "e:/OCTASNet/code/OCTANet/front_main.py", line 64, in first_net = train_first_stage(viz, writer, train_dataloader, first_net, first_optim, args.init_lr, thin_criterion, thick_criterion, device, args.power, epoch, args.first_epochs) File "e:\OCTASNet\code\OCTANet\train.py", line 15, in train_first_stage thin_gt = sample[2].to(device) IndexError: list index out of range

为什么sample[2].to(device)就超范围了?

ow775 commented 1 year ago

你好,请问你是怎么解决这个问题的呢,我在运行front_main.py发现了同样的错误