NVlabs / few-shot-vid2vid

Pytorch implementation for few-shot photorealistic video-to-video translation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to pre-process pose dataset

akkinenic opened this issue · comments

Can someone share how to pre-process pose dataset?

Install openpose and densepose,and run preprocess.py

commented

I only use Openpose and do not configure Densepose, and here's my pre-process solution on Ubuntu 18.04:

Install Openpose

  • follow the official instruction from here

Run preprocess.py

python preprocess.py --steps openpose,clean,divide_sequences --video_root /your/path/to/videos/ --output_root /your/path/to/output --openpose_root /your/path/to/openpose

--openpose_root is where your openpose is installed, under which you will find 'build/example/opepose/openpose.bin'

update

I ran with --steps openpose, clean, divide_sequence,
but all the openpose results were deleted, as the code

check_densepose_exists(args, video_idx)

check for densepose result, if there are no densepose result in the folder, it will delete the frame.

So some part of my pre-processed data were gone..

I suggest the one who wants to pre-process to install both the Densepose and Openpose,
otherwise the code should be modified before you do the clean step

I only use Openpose and do not configure Densepose, and here's my pre-process solution on Ubuntu 18.04:

Install Openpose

  • follow the official instruction from here

Run preprocess.py

python preprocess.py --steps openpose,clean,divide_sequences --video_root /your/path/to/videos/ --output_root /your/path/to/output --openpose_root /your/path/to/openpose
--openpose_root is where your openpose is installed, under which you will find 'build/example/opepose/openpose.bin'

update

I ran with --steps openpose, clean, divide_sequence,
but all the openpose results were deleted, as the code

check_densepose_exists(args, video_idx)

check for densepose result, if there are no densepose result in the folder, it will delete the frame.

So some part of my pre-processed data were gone..

I suggest the one who wants to pre-process to install both the Densepose and Openpose,
otherwise the code should be modified before you do the clean step

Could I only use openpose ,then start training,how to start like that?