Hi,
I have been working through the 4 notebook tutorial cifar/cifar-brevitas-finetuning. In the 2nd notebook (CifarQuantizationAwareTraining) I got the following error when trying to plot the results (plot_baseline(param_c100, test_loader_c100, device):
TypeError: to() received an invalid combination of arguments - got (dict), but expected one of:
- (torch.device device, torch.dtype dtype, bool non_blocking, bool copy, *, torch.memory_format memory_format)
- (torch.dtype dtype, bool non_blocking, bool copy, *, torch.memory_format memory_format)
- (Tensor tensor, bool non_blocking, bool copy, *, torch.memory_format memory_format)
I have followed all the steps and generated the quant_vgg results without a problem. Have you got any idea why I might be getting this error? I am using a venv on a Mac and had to revert to torch 1.13 to use concrete-ml.
Many thanks for the great step by step tutorial and all the tutorial videos.