AutoDeeplab icon indicating copy to clipboard operation
AutoDeeplab copied to clipboard

what is train_loader1 and train_loader2?

Open lqycrystal opened this issue 5 years ago • 6 comments

self.train_loader1, self.train_loader2, self.val_loader, self.test_loader, self.nclass = make_data_loader(args, **kwargs) ValueError: not enough values to unpack (expected 5, got 4)

lqycrystal avatar May 20 '19 21:05 lqycrystal

I get this error too

NoamRosenberg avatar May 21 '19 03:05 NoamRosenberg

self.train_loader1, self.train_loader2, self.val_loader, self.test_loader, self.nclass = make_data_loader(args, **kwargs) ValueError: not enough values to unpack (expected 5, got 4)

you need to modify dataloaders/init.py, the function make_data_loader() should return train_loader twice.

dagongji10 avatar May 28 '19 03:05 dagongji10

I just change the output to output a single train_loader, @dagongji10 do you see any reason we need two?

NoamRosenberg avatar May 28 '19 03:05 NoamRosenberg

@NoamRosenberg I guess train_loader1 is for image and train_loader2 is for image

I have not finish the code-reading, so I'm not sure.

dagongji10 avatar May 29 '19 01:05 dagongji10

@dagongji10 which train do you use for calculate_weigths_labels in the init function in train_autodeeplab.py ??

NoamRosenberg avatar May 29 '19 02:05 NoamRosenberg

trainA and trainB is not same in the original paper, while I think the code make trainA and trainB same.

Randylcy avatar Jul 11 '19 07:07 Randylcy