Of course, you need to modify all the path in the repo to suit your own datapath.
pip install -r requirements.txt
./script/down_mimic.py
python generate_QWen_json.py
python finetune.py
python infer.py # use ChatXRay to infer
python Qwen_infer.py # use Qwen-VL to infer
python ./baselines/Fuyu-8b/infer.py # use Fuyu-8b to infer
python test_baseline.py