In “main.py”, training data are got by " image, label = read(***)" for once. But I found the function "read()" in analyzer.py can only return a batch-size samples and there is no circulation for getting other samples. Thus, only a batch-size samples are used to train the network. Do I understand your code correctly? If yes, is it the right way to read training data?
In “main.py”, training data are got by " image, label = read(***)" for once. But I found the function "read()" in analyzer.py can only return a batch-size samples and there is no circulation for getting other samples. Thus, only a batch-size samples are used to train the network. Do I understand your code correctly? If yes, is it the right way to read training data?