Skip to content
Snippets Groups Projects
Commit c6c00517 authored by JamesTrewern's avatar JamesTrewern
Browse files

added if name == main guard for python multi threading on dataloaders

parent 5a201f4b
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,12 @@ import datahandler ...@@ -2,11 +2,12 @@ import datahandler
import os import os
from constants import EPOCHS from constants import EPOCHS
print(EPOCHS) def main():
df_ham_train, df_ham_val = datahandler.getHamDataLoaders()
df_ham_train, df_ham_val = datahandler.getHamDataLoaders() #print(df_ham_train)
#print(df_ham_train) #print(df_ham_val)
#print(df_ham_val)
if __name__ == '__main__':
main()
#FYI training samples for all but the 'melanocytic nevi' have been equalised (samples duplicated) so they're an even distribution #FYI training samples for all but the 'melanocytic nevi' have been equalised (samples duplicated) so they're an even distribution
# Before and after prints of the tables are uncommented to show (lines 142 and 154 in datahandler) # Before and after prints of the tables are uncommented to show (lines 142 and 154 in datahandler)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment