Vincent
Vincent
You can add num_classes=6 to --hparams ``` !python main.py --mode=train_and_eval \ --training_file_pattern=tfrecord/pascal*.tfrecord \ --validation_file_pattern=tfrecord/pascal*.tfrecord \ --val_json_file=tfrecord/json_pascal.json \ --model_name=efficientdet-d0 \ --model_dir=/tmp/efficientdet-d0-scratch \ --backbone_ckpt=efficientnet-b0 \ --train_batch_size=8 \ --eval_batch_size=8 --eval_samples=512 \ --num_examples_per_epoch=5717 --num_epochs=1...
> Yes, I have the same problem, it'd be great if we could run inference for multiple images. You should try ServingDriver at [inference.py](https://github.com/google/automl/blob/207797b20c059bd0edb43f72365e5069575cae28/efficientdet/inference.py#L257)