Hi,haoyang,
I am trying to run this code,when it is running into this part:
" history_callback = model.fit_generator(mymodel.BatchGenerator2(args.batchsize,trainbatch_num,'train',topdir,data_code) ,np.ceil(float(train_size)/args.batchsize),args.trainepoch,validation_data=mymodel.BatchGenerator2(args.batchsize,validbatch_num,'valid',topdir,data_code),nb_validation_steps=np.ceil(float(valid_size)/args.batchsize),callbacks = [checkpointer])"
an error occurred about Keras: Received unknown keyword arguments: {'validation_steps': 10.0}.
Does it relevant to the version of keras?
What's the version of keras you used?
Thank you!
Hi,haoyang, I am trying to run this code,when it is running into this part: " history_callback = model.fit_generator(mymodel.BatchGenerator2(args.batchsize,trainbatch_num,'train',topdir,data_code) ,np.ceil(float(train_size)/args.batchsize),args.trainepoch,validation_data=mymodel.BatchGenerator2(args.batchsize,validbatch_num,'valid',topdir,data_code),nb_validation_steps=np.ceil(float(valid_size)/args.batchsize),callbacks = [checkpointer])" an error occurred about Keras: Received unknown keyword arguments: {'validation_steps': 10.0}. Does it relevant to the version of keras? What's the version of keras you used? Thank you!