Closed ArshadIram closed 1 year ago
Hi there, can you please provide a little more information so I can recreate the error. What version of python? What command (and with which args) led to this error?
python poison_test.py --model resnet18 --model_path pretrained_models//ResNet18_CIFAR10_adv.pth --poisons_path bp_poisons//num_poisons=25//0 --dataset cifar10
python version: 3.10.7
The issue is fixed. The error occurred because the trainset_size argument was not provided.
I am trying to run poison_test file based on the provided poison example. However, I am getting error while creating a dataloader of the poison dataset.