You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the code in readme and got the following error
>python train.py positiveImages negativeImages trainingDataPositive trainingDataNegative 30
positive samples: 12
negative samples: 16
Error: Couldnt read the file 284_letterbox1024. Make sure only images are present in the folder
Exception: [Errno 2] No such file or directory: 'trainingDataPositive\\284_letterbox1024_LL.tiff'
Error: Couldnt read the file 284_letterbox1024. Make sure only images are present in the folder
Exception: [Errno 2] No such file or directory: 'trainingDataPositive\\284_letterbox1024_180_LL.tiff'
Error: Couldnt read the file 284_letterbox1024. Make sure only images are present in the folder
...
> python test.py moirePattern3CNN_.h5 positiveImages negativeImages
...
Total Samples Loaded: 30
...
ValueError: Cannot assign value to variable ' dense_1/kernel:0': Shape mismatch. The variable shape (32, 2), and the assigned value shape (32, 1) are incompatible.
I modified the code and the error was dismissed. The "After" code is right?
I used the code in readme and got the following error
I modified the code and the error was dismissed. The "After" code is right?
Before
python createTrainingData.py positiveImages negativeImages 0
python train.py positiveImages negativeImages trainingDataPositive trainingDataNegative 5
python test.py moirePattern3CNN_.h5 positiveImages negativeImages
After
python createTrainingData.py positiveImages negativeImages 0
python train.py positiveImages negativeImages trainDataPositive trainDataNegative 5
python test.py moirePattern3CNN_.h5 positiveImages negativeImages
The text was updated successfully, but these errors were encountered: