Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.03 KB

AIF.md

File metadata and controls

42 lines (33 loc) · 1.03 KB

Action Instruction Following Metric

Required Environments:

Usage

0. Structure of Generated Images

Please organize your generated images as follows:

dojo_aif_metric/
│
├── output/images/
│   ├── scene1/
│   │   ├── image1.jpg
│   │   ├── image2.jpg
│   │   └── ...
│   ├── scene2/
│   └── ...
│
└── output/motions/
    ├── scene1.pkl
    ├── scene2.pkl
    └── ...

1. generate foreground masks for generated images:

python maskrcnn_mask.py --image_folder output/images --output_folder output/masks

2. run colmap:

please modify the image width/height/intrinsic in run_colmap/database.py, line 327-330, then run:

bash run_colmap/run.bash ./output

3. compute AIF metric:

python run_colmap/eval_poses.py --meta_folder ./output