Skip to content

ValueError: invalid literal for int() #66

@jolitte

Description

@jolitte

I have tried the python code based on the README.MD file
It encodes the input.png file successfully but the decode gets an error.
ValueError: invalid literal for int()
Need help to solve this issue and how to use the steganogan properly.
Thank you in advance.

Below is the python code:

from steganogan import SteganoGAN
steganogan = SteganoGAN.load(architecture='dense')

steganogan.encode('research/Input.png', 'research/Output.png', 'This is a super secret message!')
steganogan.decode('research/Output.png')
'This is a super secret message!'

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