lukejagg / test-canary

Miscellaneous files for ML + web development
0 stars 1 forks source link

Move CNN model to separate file and import it in train.py #231

Open ghost opened 1 year ago

ghost commented 1 year ago

Description

This PR moves the CNN model definition from train.py to a new file cnn.py. The CNN model is now defined in its own script, which improves code organization and modularity. Additionally, the necessary modules are imported in cnn.py to ensure the CNN model can be properly instantiated.

Summary of Changes

These changes make the codebase more maintainable and extensible by separating the CNN model from the training script and improving code organization.

Fixes #4.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/move-cnn-model

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.