FC-DenseNet
FC-DenseNet copied to clipboard
X, Y = iterator.next() in Line 63 of test.py is crashing
I have given appropriate datasets along with proper folder and train and annotation datasets properly. The inference function test.py at line 63 is crashing
Below error crashes X, Y = iterator.next() ValueError: too many values to unpack.
Any solutions to the above problem would be really helpful.
Thanks Kumar
can you post your data_loader here? How are you setting up the iterator?
the iterator has been pointed to datasetloaders taken from https://github.com/fvisin/dataset_loaders
Below is the iterator test_iter = CamvidDataset(which_set='test', batch_size=batch_size[2], seq_per_video=0, seq_length=0, crop_size=None, get_one_hot=False, get_01c=False, shuffle_at_each_epoch=False, overlap=0, use_threads=True, save_to_dir=False)
Kindly suggest the solution ,
@ChidanandKumarKS Hello! Have you solved the problem?
I have solved it. See issue23. May that would help you. #23
I solved it by changing X,Y = iterator.next() into Data = iterator.next() X = Data['raw_data'] Y = Data['labels'] And I get the right result.