Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to search for a subnet on cifar100 using Autoformer? #237

Open
callmewenhao opened this issue May 28, 2024 · 0 comments
Open

How to search for a subnet on cifar100 using Autoformer? #237

callmewenhao opened this issue May 28, 2024 · 0 comments

Comments

@callmewenhao
Copy link

Hi bro! I got a question: what happens when we run evolution.py using dataset as cifar100 or cifar10?
It seems that this will use the test data of cifar100 and cifar10 for search. Does this cause data leakage?

Related code

dataset_val, args.nb_classes = build_dataset(is_train=False, args=args, folder_name="subImageNet")
dataset_test, _ = build_dataset(is_train=False, args=args, folder_name="val")

and

if args.data_set == 'CIFAR10':
    dataset = datasets.CIFAR10(args.data_path, train=is_train, transform=transform, download=True)
    nb_classes = 10
elif args.data_set == 'CIFAR100':
    dataset = datasets.CIFAR100(args.data_path, train=is_train, transform=transform, download=True)
    nb_classes = 100

Looking forward to your answer!🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant