x = 10 # # x is the number of images y = 120 # width of the image z = 120 # height of…
- User
x = 10 # # x is the number of images y = 120 # width of the image z = 120 # height of the image classes = 5 #5 gestures channel = 3 #RGB
pretrained_mobilenet = mobilenet.MobileNet(weights='imagenet', include_top=False) model_2 = Sequential() model_2.add(TimeDistributed(pretrained_mobilenet,input_shape=(x,y,z,channel)))
model_2.add(TimeDistributed(BatchNormalization())) model_2.add(TimeDistributed(MaxPooling2D((2, 2)))) model_2.add(TimeDistributed(Flatten()))
model_2.add(GRU(128)) model_2.add(Dropout(0.25))
model_2.add(Dense(128,activation='relu')) model_2.add(Dropout(0.25))
model_2.add(Dense(5, activation='softmax'))
I am working on gesture recognition / classification using 3dcnn. This here is a CNN LSTM Network for the same.
How can i improve the implmentation? is efficient b0 a better choice
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.