sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Add new CNN class for MNIST handling and update model usage in API #77

Closed sweep-nightly[bot] closed 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR adds a new CNN class in src/cnn.py that handles the MNIST dataset. The CNN class is responsible for loading and preprocessing the data, defining the CNN architecture, and training the model. The existing code in src/main.py for loading and preprocessing the MNIST dataset and defining the PyTorch model has been removed and replaced with the new CNN class. Additionally, the usage of the model in src/api.py has been updated to use the new CNN model instead of the previous Net model.

Summary of Changes

Please review and merge this PR to incorporate the changes.

Fixes #9.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-nightly[bot] commented 1 year ago

Rollback Files For Sweep

sweep-nightly[bot] commented 1 year ago

Apply Sweep Rules to your PR?