This PR moves the CNN class definition from the train.py file to a new file cnn.py. This separation improves code modularity and reusability by allowing the CNN model to be used in other parts of the project without duplication.
Summary of Changes
Created a new file cnn.py and moved the CNN class definition to this file.
Removed the CNN class definition from the train.py file to avoid duplication.
Imported the CNN class from the new cnn.py file into the train.py file to ensure access to the CNN model.
Please review and merge these changes.
Fixes #4.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/move-cnn-class_1
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.
Description
This PR moves the CNN class definition from the
train.py
file to a new filecnn.py
. This separation improves code modularity and reusability by allowing the CNN model to be used in other parts of the project without duplication.Summary of Changes
cnn.py
and moved the CNN class definition to this file.train.py
file to avoid duplication.cnn.py
file into thetrain.py
file to ensure access to the CNN model.Please review and merge these changes.
Fixes #4.
To checkout this PR branch, run the following command in your terminal:
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.