Spaces:
Sleeping

Hutches67 commited on
Commit
f826c3b
·
1 Parent(s): 0e859f8

Add multi-dataset and ResNet-18 architecture support

Browse files

- Fix dataset selection: now properly switches between MNIST, CIFAR-10, and Fashion-MNIST
- Add ResNet-18 architecture option alongside existing MLP and CNN models
- Implement dynamic data preprocessing based on model architecture (flatten for MLPs, keep 2D/3D for CNNs)
- Add model architecture parameter to frontend and backend
- Cache trainers by dataset+architecture combination for efficiency
- Update privacy budget calculations to use correct dataset sizes
- Support for all architecture combinations across datasets

4 files changed +276 -29
Files changed (4)
app/routes.py+49-17
app/static/js/main.js+20-2
app/templates/index.html+1
app/training/simplified_real_trainer.py+206-10