-
Notifications
You must be signed in to change notification settings - Fork 1
Python iconhash
Repository metahashorg/iconhash_py contains a source code written in python, that describes generating iconhash for Metahash address.
Convolutional Generative Adversarial Network consists of two different networks, the generator and the discriminator. The Generator tries to generate images from random noise, while the Discriminator tries to distinguish real images from the generated ones.
The Generator model includes a block of layers consisting of Batchnormalization, upsampling followed by a convolution with relu activation. There are 4 such blocks used tanh function as the activation of the convolution layer. The Discriminator model is a simple deep convolution network. The combined model is compiled adam optimizer (learning rate = 0.0002), with binary cross entropy loss.
cd Script
.../python iconhash.py parameter1 parameter2Parameter1 could be one of the following:
-
a Metahash Address# example: 0x0083504341c15f066955c2ac999b356894cde5c20f5a0ee9ac -
file.tsv# a tsv-file containing several Metahash Addresses -
file.txt# a txt-file containing several Metahash Addresses
Parameter2
Output folder
The script returns a unique planet picture as a png file with a resolution of 128x128 for every Metahash Address from input.
For more information about the required dependencies and usage of the source code, please see the repository.
