Skip to content

Unable to replicate sample result #17

@k128

Description

@k128

When I run this line:
python hififace_inference.py --gpus 0 --model_config config/model.yaml --model_checkpoint_path hififace_opensouce_299999.ckpt --source_image_path assets\inference_samples\02_source.png --target_image_path assets\inference_samples\02_target.png --output_image_path assets\inference_samples\res22.png

the resulting image is:
res22

What could be causing me to get a lower quality result than the published sample?

System Info:
OS: Windows 10
(hififace) >python --version
Python 3.9.13
(hififace) >pip freeze
absl-py==1.4.0
anaconda-client==1.11.0
anaconda-navigator==2.3.1
antlr4-python3-runtime==4.9.3
appdirs==1.4.4
atomicwrites==1.4.0
backports.weakref==1.0.post1
bkcharts==0.2
brotlipy==0.7.0
chardet==3.0.4
clyent==1.2.2
comtypes==1.1.10
conda==23.1.0
conda-build==3.22.0
conda-repo-cli==1.0.27
conda-verify==3.4.2
constantly==15.1.0
cssselect==1.1.0
cytoolz==0.11.0
daal4py==2021.6.0
datashape==0.5.4
docker-pycreds==0.4.0
dominate==2.7.0
et-xmlfile==1.1.0
fonttools==4.25.0
gitdb==4.0.10
GitPython==3.1.30
google-auth-oauthlib==0.4.6
graphviz==0.8.4
grpcio==1.51.1
idna==2.6
inflection==0.5.1
kornia==0.6.9
lightning-utilities==0.6.0.post0
llvmlite==0.38.0
lpips==0.1.4
mccabe==0.6.1
mkl-fft==1.3.1
mkl-service==2.4.0
mpmath==1.2.1
munkres==1.1.4
mxnet-cu102mkl==1.7.0
mypy-extensions==0.4.3
navigator-updater==0.3.0
ninja==1.11.1
numpy==1.22.4
oauthlib==3.2.2
omegaconf==2.3.0
opencv-python==4.7.0.68
openpyxl==3.0.10
pathtools==0.1.2
patsy==0.5.2
pep8==1.7.1
Pillow==9.2.0
protobuf==4.21.12
pyasn1-modules==0.2.8
pycosat==0.6.3
pycurl==7.45.1
PyDispatcher==2.0.5
pyls-spyder==0.4.0
pytest==7.1.2
python-lsp-jsonrpc==1.0.0
pytorch-lightning==1.9.2
pywin32==302
PyYAML==6.0
queuelib==1.5.0
requests==2.28.2
requests-oauthlib==1.3.1
scikit-learn-intelex==2021.20221004.171935
scipy==1.9.1
sentry-sdk==1.15.0
setproctitle==1.3.2
sip==4.19.13
smmap==5.0.0
statsmodels==0.13.2
tables==3.6.1
TBB==0.2
tensorboard==2.12.0
tensorboard-data-server==0.7.0
tensorboard-plugin-wit==1.8.1
torch==1.13.1+cu117
torchmetrics==0.11.1
torchvision==0.14.1
trimesh==3.20.0
urllib3==1.26.14
wandb==0.13.10
webencodings==0.5.1
win-unicode-console==0.5
wincertstore==0.2
zict==2.1.0
zstandard==0.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions