Home > OS >  Getting ValueError: Data Params Error when using masterful.trainer.train
Getting ValueError: Data Params Error when using masterful.trainer.train

Time:04-07

I followed the Go vaccines today

CodePudding user response:

This Value Error is explaining the problem its the message.

The dataset labels, being CIFAR-100, are one hot vectors of length 100.

But the call to "masterful.data.learn_data_params" gets passed the value 10.

Update your model architecture with:

  model.add(tf.keras.layers.Dense(100))

and your call to learn_data_params with:

    num_classes=100,
  • Related