Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d387364
Created new files and added data loading
pranaypremdas Oct 20, 2022
150fef1
Created Vision Transformer. Training module needs to be made.
pranaypremdas Oct 20, 2022
84d8d18
Created training module. After running only 63% accuracy was achieved.
pranaypremdas Oct 20, 2022
aff0100
Added new modifications to the number of heads, prejection_dim, and
pranaypremdas Oct 20, 2022
7cf443a
Increased the num_heads, and projection_dim in the model. Current val…
pranaypremdas Oct 20, 2022
08ff4a1
Increased patch size to 32, increased image size to 250, and decrease…
pranaypremdas Oct 20, 2022
71e3355
Changed loss function to binary cross entropy as it is either AD or NC.
pranaypremdas Oct 20, 2022
be3efaa
Added a softmax layer at the end instead of a sigmoid however, this d…
pranaypremdas Oct 21, 2022
715a11d
Increased learning rate but this caused the loss to output nan meaning
pranaypremdas Oct 21, 2022
5efdf72
Added comments for dataset.py
pranaypremdas Oct 21, 2022
a6f7778
Added comments to modules.py
pranaypremdas Oct 21, 2022
f63c95b
Added comments to train.py
pranaypremdas Oct 21, 2022
735fb72
Added more comments to train.py and predict.py
pranaypremdas Oct 21, 2022
289522d
Added references to all the code used. Also added a ReadMe file
pranaypremdas Oct 21, 2022
c301571
Test commit
pranaypremdas Oct 21, 2022
53227a1
Removed commented code from train.py
pranaypremdas Oct 21, 2022
8f102f3
Removed more commented code from train.py
pranaypremdas Oct 21, 2022
41d528e
Accidentally forgot to change variables epochs and forgot to revert
pranaypremdas Oct 23, 2022
29152a9
forgot to add plt.legend(loc='lower right') into the code. I had it i…
pranaypremdas Oct 23, 2022
6527008
Added readme file
pranaypremdas Nov 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recognition/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AD_NC/*
4 changes: 4 additions & 0 deletions recognition/MySolution/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__pycache__/**
AD_NC
*.npy
*.pickle
Binary file added recognition/MySolution/Accuracy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added recognition/MySolution/Loss.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
372 changes: 0 additions & 372 deletions recognition/MySolution/Methods.ipynb

This file was deleted.

Binary file added recognition/MySolution/OG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added recognition/MySolution/Original.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added recognition/MySolution/Patches.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading