Do subscribe to our channel for more interesting videos! Got a Question on this topic? Let us know in the comment section below 👇 and we'll have our experts answer it for you.
I got 70% accuracy and val accuracy with a few tweaks to the model model = VGG16(weights='imagenet',include_top = False) model = VGG16(include_top=False, input_shape=(150, 150, 3)) flat1 = Flatten()(model.layers[-1].output) class1 = Dense(128, activation='relu', kernel_initializer='he_uniform')(flat1) output = Dense(6, activation='softmax')(class1) # define new model model = Model(inputs=model.inputs, outputs=output) model.compile(optimizer = 'adam',loss ='sparse_categorical_crossentropy',metrics =['accuracy'])
Thank you for the appreciation. You can check our videos related to various technologies and subscribe to our channel to stay updated with all the trending technologies.
error: OpenCV(4.5.5) D:\bld\libopencv_1648505896421\work\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' i got this error and i was not able to find the solution. do you have any recommendations?