Wrong folders structures
The epic_kitchens.gulp.adapter expects the following structure:
frame-segments/
├── P01
│ ├── P01_01
│ | ├── P01_01_0_open-door
│ | | ├── frame_0000000008.jpg
│ | | ...
│ | | ├── frame_0000000202.jpg
│ | ...
│ | ├── P01_01_329_put-down-plate
│ | | ├── frame_0000098424.jpg
│ | | ...
│ | | ├── frame_0000098501.jpg
│ ...
At the moment, the structure is instead:
train/
├── P13
│ ├── P13_09
| | ├── segment
│ | | ├── P13_09_19537_open-sausage-package
│ | | | ├── frame_0000000008.jpg
│ | | | ...
│ | | | ├── frame_0000000202.jpg
│ | | ├── P13_09_19524_pick-up-fork
│ | | | ...
│ ├── P13_10
| | ├── segment
│ | | ├── P13_10_19578_put-sausage-on-hamburger
│ | | | ├── frame_0000098424.jpg
│ | | | ...
│ | | | ├── frame_0000098501.jpg
│ | | ├── P13_10_19555_put-plate-on-table
│ | | ...
From folder train
, snippet of find . -type d
command output:
./P13/P13_10/segment/P13_10_19578_put-sausage-on-hamburger
./P13/P13_10/segment/P13_10_19555_put-plate-on-table
./P13/P13_10/segment/P13_10_19562_close
./P13/P13_09
./P13/P13_09/segment
./P13/P13_09/segment/P13_09_19537_open-sausage-package
./P13/P13_09/segment/P13_09_19524_pick-up-fork
We have two opitons now:
- Shall I write a bash scripts to move the folders?
- Shall I fix the segments_extraction.sh scripts and re-execute it (does not take too long)?