#author("2023-06-11T16:09:59+09:00","default:ait-survey","ait-survey")
#author("2023-06-11T16:10:55+09:00","default:ait-survey","ait-survey")
ソースは[[こちら:https://github.com/JiahuiYu/generative_inpainting]]~

***使用環境 [#bef8b697]
(py36_tfv1) C:\Users\survey\Documents\GitHub\generative_inpainting>nvcc -V~
nvcc: NVIDIA (R) Cuda compiler driver~
Copyright (c) 2005-2019 NVIDIA Corporation~
Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019~
Cuda compilation tools, release 10.2, V10.2.89~


tensorboard               1.14.0                   pypi_0    pypi~
tensorflow                1.14.0                   pypi_0    pypi~
tensorflow-estimator      1.14.0                   pypi_0    pypi~
tensorflow-gpu            1.14.0                   pypi_0    pypi~

''利用にあたっての注意''~
***利用にあたっての注意 [#l37208f7]
-入力データのフォーマットに要注意!!&color(red){RGBA};のpngフォーマットです.~
PIL(Python Imaging Library)を使用する.~
--RGB画像(一般画像)~
---R:R+白マスク~
---G:G+白マスク~
---B:B+白マスク~
---A:黒~
--マスク画像~
---R:黒+白マスク~
---G:黒+白マスク~
---B:黒+白マスク~
---A:黒+白マスク~
-白マスクはSemantic Segmentationの結果を利用する.~
例えば[[U-Net:https://github.com/tks10/segmentation_unet]].~
--出力のpngのPモード(背景は黒)と元のjpeg画像からgenerative image inpaintingの入力画像を作りたい(作った).~
--generative image inpaintingの入力画像は不思議.対象画像とmask画像ともにpngのRGBAモードです.なぜ?~

[[AI Tips]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS