UniPose icon indicating copy to clipboard operation
UniPose copied to clipboard

ValueError: too many values to unpack (expected 2) ,Hello, how can I solve this problem?

Open a139122679 opened this issue 4 years ago • 3 comments

Traceback (most recent call last): File "unipose.py", line 270, in trainer = Trainer(args) File "unipose.py", line 64, in init self.val_dir, self.sigma, self.stride, self.workers, self.batch_size) ValueError: too many values to unpack (expected 2)

a139122679 avatar Dec 28 '21 12:12 a139122679

utils.py

getDataloader() return train_loader, val_loader

deeprine avatar May 13 '22 08:05 deeprine

Hi, can any one help me about the following error? Traceback (most recent call last): File "T:\unipose\unipose.py", line 276, in trainer.training(epoch) File "T:\unipose\unipose.py", line 107, in training for i, (input, heatmap, centermap, img_path) in enumerate(tbar): ValueError: too many values to unpack (expected 4)

Zinia17 avatar Jun 17 '22 11:06 Zinia17

Another error: Traceback (most recent call last): File "T:\unipose\unipose.py", line 279, in trainer.training(epoch) File "T:\unipose\unipose.py", line 112, in training input_var = input.cuda() AttributeError: 'int' object has no attribute 'cuda'

Zinia17 avatar Jun 17 '22 12:06 Zinia17