Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed version ofhttps://github.com/tomguluson92/PRNet_PyTorch

NotificationsYou must be signed in to change notification settings

Smorodov/PRNet_PyTorch_v2

Repository files navigation

  • You need install pytorch lightning

  • You need 300W_LP dataset (copy all data to all folder )

Before we start generat uv position map and train it. The first step is generate BFM.mat according toBasel Face Model.For simplicity, The correspondingBFM.mat has been providedhere.

After download it successfully, you need to moveBFM.mat toDS_generator/BFM.

② Generate uv_pos_map

YadiraF/face3d have provide scripts for generating uv_pos_map, here i wrap it forBatch processing.

You can useDS_generator/generate_posmap_300WLP.py as:

cd DS_generatorpython3 generate_posmap_300WLP.pyThen`300WLP_IBUG` dataset is the proper structurefor training PRNet:
- 300WLP_IBUG - 0/  - IBUG_image_xxx.npy  - original.jpg (original RGB)  - uv_posmap.jpg (corresponding UV Position Map) - 1/ - **...** - 100/

Except from download from300WLP,I provide processedoriginal--uv_posmap pair of IBUGhere.

③ Training

After finish the above two step, you can train your own PRNet as:

run_training.cmd

You can use tensorboard to visualize the intermediate output inlocalhost:6006:

run_tensorboard.cmd

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp