Closed matthewdm0816 closed 7 months ago
Please use this command: python scripts/preprocess_captions_transformer.py --input_captions_json ./data/change_captions.json --input_neg_captions_json ./data/no_change_captions.json --input_image_dir ./data/images --split_json ./data/splits.json --output_vocab_json ./data/transformer_vocab.json --output_h5 ./data/transformer_labels.h5
Thanks!
I'm trying to train the model with the given command
python train.py --cfg configs/dynamic/transformer.yaml
, but an error occurs. The error message is like: (last few lines)Seems a configuration error, I see vocab.json in the
./data
directory, is that the correct file to use?