bcmi/GracoNet-Object-Placement

Failed to infer with eval_type 'sample'

Saumya-svm opened this issue · 1 comments

Hi,
I tried to perform inference with eval_type = 'sample', but was facing issue with it. I was getting the following ValueError -
ValueError: not enough values to unpack (expected 18, got 11)

The code that I ran for inference is -
python infer.py --data_root new_OPA --expid graconet --epoch 11 --eval_type sample

Kindly suggest what might have caused this error. I have performed the preprocessing step as well.

@Saumya-svm Hi, the current code only support "--eval_type sample" in "main.py" (

sample(sample_dataset, model, epoch * len(train_loader) + i, sample_dir)
). Please use "--eval_type eval" or "--eval_type evaluni" in "infer.py".