own_data_cnn_implementation_keras icon indicating copy to clipboard operation
own_data_cnn_implementation_keras copied to clipboard

A complete tutorial on using own dataset to train a CNN from scratch in Keras (TF & Theano Backend)-

Results 11 own_data_cnn_implementation_keras issues
Sort by recently updated
recently updated
newest added

Hi Friend, Can you help me to check this issue? Traceback (most recent call last): File "D:/projects-python/keras-sample/cnn/custom_data_cnn.py", line 217, in plt.plot(xc,train_loss) File "C:\Users\ccc\AppData\Local\Programs\Python\Python36\lib\site-packages\matplotlib\pyplot.py", line 3317, in plot ret = ax.plot(*args,...

when runnig the following line (line 59 in the updated version of the code): `img_data= np.expand_dims(img_data, axis=4) ` I get the following error: > AxisError: axis 4 is out of...

Re: custom_data_cnn.py Anaconda2-5.1.0-MacOSX-x86_64.sh Dear Anuj Shah: Suspect ‘show_accuracy’ is not supported on this build, please enlighten. Sincerely, eltoneo > File "/Users/dutch/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace) File...

Hi Thanks for your job I notice that ligne 12 `sklearn.cross_validation` is not anymore implemented You have to use `sklearn.model_selection` Regards

How do implement this code on a GPU using tensorflow backend

My train accuracy is as high as 93%, test accuracy is not even 60% ``` Train on 646 samples, validate on 162 samples Epoch 1/20 646/646 [==============================] - 3s 5ms/step...

While executing the code i am getting the above error in the following code.: model.fit_generator( train_generator, steps_per_epoch=nb_train_samples // batch_size, epochs=epochs, validation_data=validation_generator, validation_steps=nb_validation_samples // batch_size) error as: ValueError Traceback (most recent...

Thanks for the video tutorial. I think the way the labels are assigned is problematic. The "os.listdir(data_path + '/' + dataset)" doesn't seems to list the directories alphabetically in ascending...

Kindly explain your answer. I did this but I am not sure if it's correct. ``` PATH = os.getcwd() # Define data path data_path2 = r'C:\Users\Admin\test' data_dir_list_t = os.listdir(data_path2) img_rows=64...