When executing
python3 train.py positiveImages negativeImages trainDataPositive trainDataNegative 2
(Note that in your README you have trainingDataPositive and trainingDataNegative),
I get the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Received a label value of 1 which is outside the valid range of [0, 1). Label values: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
I needed to use binary_crossentropy a la https://stackoverflow.com/a/44152923/1021819
When executing
python3 train.py positiveImages negativeImages trainDataPositive trainDataNegative 2(Note that in your README you have trainingDataPositive and trainingDataNegative),
I get the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Received a label value of 1 which is outside the valid range of [0, 1). Label values: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1I needed to use
binary_crossentropya la https://stackoverflow.com/a/44152923/1021819