mganprior
[CVPR 2020] Image Processing Using Multi-Code GAN Prior
File Explorer
Download Latest Version (.zip)- pggan_celebahq_age_boundary.npy
- pggan_celebahq_expression_boundary.npy
- pggan_celebahq_gender_boundary.npy
- pggan_celebahq_pose_boundary.npy
- __init__.py
- derivable_generator.py
- gan_utils.py
- bootstrap.min.css
- dip.jpg
- font.css
- gandissect.png
- genforce.png
- igan.jpg
- interfacegan.jpg
- optimization.gif
- seeing.png
- style.css
- teaser.jpg
- index.html
- 0001bccdcd4cd77864782f3e1ddde6e7fadcaac6.png
- 0001da338e86da532004697b5bf4bb1139528547.png
- 054732919c9c5d5d7d21282d3d2289e81945c5cb.png
- 3eadb94b1e1c670dd40af514a44fb36290a554ad.png
- sun_aucnaukmajcpeaeo.jpg
- 1.png
- 10_01.png
- 12_01.png
- 15.png
- 15_01.png
- 16_01.png
- 17_01.png
- 1_01.png
- 2.png
- 20_01.png
- 21_01.png
- 3.png
- 3_01.png
- 4_01.png
- 5.png
- 5_01.png
- 8_01.png
- c1_01.png
- Captain_01.png
- hammer_01.png
- SCA_01.png
- 000567831800b62394bf55e0d03e5653ccc28734.png
- sun_acqgccujxkaytvbx.jpg
- sun_afwssizxdqrafcox.jpg
- sun_auvecshhinfypsgo.jpg
- 1855363922cd7583f9ff4c0e9c4ce9867b06de9c.png
- sun_aifqshyiulwfhaua.jpg
- sun_azmxzszojlxzhdpf.jpg
- sun_bhnstkiyhybyujvq.jpg
- 00007eb364fb2e3b3c8f3673ff888dfa82cf4261.png
- 0000a6c6091e1427d705821a4a4e3df5c4c91092.png
- 00036ca655d920847764733efbb5f5272774bea5.png
- 1cb02a376c6e83cdbed07e8ba085c5ec190d35d8.png
- 344fefef4d8c15429491c68a40f41d95da1557bc.png
- sun_bhnstkiyhybyujvq.jpg
- sun_aieghmacpppxajox.jpg
- sun_aijjjtmcvcrxhoxj.jpg
- sun_aqtjxltjitidzenn.jpg
- mask-1.png
- mask-2.png
- mask-3.png
- mask-4.png
- 02036.png
- 02057.png
- 02063.png
- 02069.png
- 02110.png
- __init__.py
- inversion_methods.py
- losses.py
- __init__.py
- frechet_inception_distance.py
- inception_score.py
- ms_ssim.py
- sliced_wasserstein.py
- config.py
- dataset.py
- dataset_tool.py
- legacy.py
- loss.py
- misc.py
- networks.py
- README.md
- tfutil.py
- train.py
- util_scripts.py
- __init__.py
- local.py
- __init__.py
- run_context.py
- submit.py
- __init__.py
- fused_bias_act.cu
- fused_bias_act.py
- upfirdn_2d.cu
- upfirdn_2d.py
- __init__.py
- autosummary.py
- custom_ops.py
- network.py
- optimizer.py
- tfutil.py
- __init__.py
- util.py
- __init__.py
- frechet_inception_distance.py
- inception_score.py
- linear_separability.py
- metric_base.py
- metric_defaults.py
- perceptual_path_length.py
- precision_recall.py
- __init__.py
- dataset.py
- loss.py
- misc.py
- networks_stylegan.py
- networks_stylegan2.py
- training_loop.py
- dataset_tool.py
- Dockerfile
- pretrained_networks.py
- projector.py
- README.md
- run_generator.py
- run_metrics.py
- run_projector.py
- run_training.py
- test_nvcc.cu
- run.py
- __init__.py
- run_context.py
- submit.py
- __init__.py
- autosummary.py
- network.py
- optimizer.py
- tfutil.py
- __init__.py
- util.py
- __init__.py
- frechet_inception_distance.py
- linear_separability.py
- metric_base.py
- perceptual_path_length.py
- __init__.py
- dataset.py
- loss.py
- misc.py
- networks_progan.py
- networks_stylegan.py
- training_loop.py
- config.py
- dataset_tool.py
- generate_figures.py
- pretrained_example.py
- README.md
- run_metrics.py
- train.py
- __init__.py
- base_generator.py
- helper.py
- model_settings.py
- pggan_generator.py
- pggan_generator_network.py
- README.md
- stylegan2_generator.py
- stylegan2_generator_network.py
- stylegan_generator.py
- stylegan_generator_network.py
- age.npy
- gender.npy
- smile.npy
- donald_trump_01.npy
- hillary_clinton_01.npy
- __init__.py
- face_alignment.py
- landmarks_detector.py
- __init__.py
- file_utils.py
- image_precossing.py
- manipulate.py
- .gitignore
- colorization.py
- face_semantic_editing.py
- inpainting.py
- multi_code_inversion.py
- README.md
- requirements.txt
- super_resolution.py
# Installation Guide
1. Get the code
git clone https://github.com/genforce/mganprior
Downloads the entire project code from GitHub to your computer.
cd mganprior
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f models/stylegan2_tf_official/Dockerfile -t mganprior .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 mganprior
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
python -m pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
