DDMAL/Calvo_classifier

Variable referenced before assignment causing training issues

raviraina opened this issue · 1 comments

As per Martha's testing, classification is currently working on new Calvo (found in the develop branch) however training is not. The method createGenerator in training_engine_sae.py attempts to use a variable a line before it is ever initialized.

Line 80 may just simply need to be moved below Line 83, but I am unable to test this myself locally until after my flight and would rather not blindly change things. If anyone else wants to give it a shot in the meanwhile feel free!

def createGenerator(grs, gts, idx_label, patch_height, patch_width, batch_size):

This may not be the full extent of the issue, but it's a start

Closed and moved to #41 as it has details about further issues in the function.