python - TypeError('Unrecognized keyword arguments: ' + str(kwargs)) # Validate user data -
model.fit(inputs(acc_list,gyro_list),outputs=labels,batch_size=1,validation_split=0.2, epochs=2,verbose=1 ,shuffle=false)
error typeerror('unrecognized keyword arguments: ' + str(kwargs))
1351 1352 # validate user data.typeerror: unrecognized keyword arguments: {'inputs': ([[0.15242325258914946
i try best fiind question, doesn't work.
the model has 2 inputs. respectively, acceleration of xyz, gyroscope xyz, shape 200 * 3. output two-dimensional x,y coordinates,the shape 200*2
the following acceleration's data:
([[0.15242325258914946, -0.03476163517936892, -0.2969868529378741], [0.5273979067752359, 0.17251581054654674, 0.15189385692567248], [0.3185013507990653, 0.1020899509564357, 0.5018364082790421], [-0.48467997082426617, -0.3683816236617554, 0.0820271783467561]......
should be
model.fit(x=[acc_list,gyro_list],y=labels,batch_size=1,validation_split=0.2, epochs=2,verbose=1 ,shuffle=false)
where acc_list
= numpy array of accelerometer data , gyro_list
= numpy array of gyroscope data
Comments
Post a Comment