How Smart Waifu images are generated and stored? The source code of image server is on https://github.com/Ayukawayen/waifu_icon_repo, which forked from Jt's repository https://github.com/blockparty-sh/waifu_icon_repo, and also from StyleGAN2: https://github.com/NVlabs/stylegan2. I created a AWS EC2 instance and run the image server on it to generates Smart Waifu images on demand. Once the image is generated the backend uploads it to IPFS by Infura ( https://infura.io/docs/ipfs#section/Getting-Started/Add-a-file ). And the hash of image file is stored in smart contract on SmartBCH chain, which can wrapped to a IPFS URI linked to the image. So if the image of your Smart Waifu is unreachable due to lack of access on IPFS, you may re-upload a local copy to IPFS. Since the file has the same hash value, it will be on the same URL. ( I tried several Linux distributions: Ubuntu, Debian, and CentOS. If you also want to build a image server on AWS EC2, I suggest using Ubuntu. )
Log in to join in Reading is open to everyone. Replying needs an account.
No comments yet