Modifies from updown-baseline, by adding files
Download data from nocaps.org, modify the paths in baseline/configs/updown_nocaps_val.yaml. To get data for fluency classifier, run
python classifier/prepare_captions.py
Install required packages in baseline/requirements.txt
Run the following code to run the correlation classifier
python classifier/train_sim.py
--config configs/updown_nocaps_val.yaml --output_dir checkpoints/sim
Run the following code to run the fluency classifier
python classifier/train_natural.py
--config configs/updown_nocaps_val.yaml --output_dir checkpoints/nat
Run python predict_sim.py with corresponding functions to get output csv files
Modifies from updown-baseline, by adding files
Download data from nocaps.org, modify the paths in baseline/configs/updown_nocaps_val.yaml. To get data for fluency classifier, run
python classifier/prepare_captions.py
Install required packages in baseline/requirements.txt
Run the following code to run the correlation classifier
python classifier/train_sim.py
--config configs/updown_nocaps_val.yaml --output_dir checkpoints/sim
Run the following code to run the fluency classifier
python classifier/train_natural.py
--config configs/updown_nocaps_val.yaml --output_dir checkpoints/nat
Run python predict_sim.py with corresponding functions to get output csv files