Hi,
Congratulations for your excellent work. I was trying to access the resources and few hours ago i was able to access but now i am getting error. Further I want to run the code as such to get the base model results before trying my custom dataset and further extension. I keep on getting following error : Traceback (most recent call last):
File "train.py", line 586, in
main()
File "train.py", line 218, in main
loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, val_loader, model, optimizer, epoch)
File "train.py", line 389, in train
allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10)
TypeError: 'int' object is not iterable
Traceback (most recent call last):
File "train.py", line 586, in
main()
File "train.py", line 218, in main
loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, val_loader, model, optimizer, epoch)
File "train.py", line 389, in train
allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10)
TypeError: 'int' object is not iterable. Any idea what i am doing wrong here
Hi, Congratulations for your excellent work. I was trying to access the resources and few hours ago i was able to access but now i am getting error. Further I want to run the code as such to get the base model results before trying my custom dataset and further extension. I keep on getting following error : Traceback (most recent call last): File "train.py", line 586, in
main()
File "train.py", line 218, in main
loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, val_loader, model, optimizer, epoch)
File "train.py", line 389, in train
allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10)
TypeError: 'int' object is not iterable
Traceback (most recent call last):
File "train.py", line 586, in
main()
File "train.py", line 218, in main
loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, val_loader, model, optimizer, epoch)
File "train.py", line 389, in train
allAcc = sum(intersection_meter.sum) / (sum(target_meter.sum) + 1e-10)
TypeError: 'int' object is not iterable. Any idea what i am doing wrong here