DAI-Lab / SteganoGAN

SteganoGAN is a tool for creating steganographic images using adversarial training.
MIT License
305 stars 85 forks source link

Update dependencies #88

Open leferrad opened 1 year ago

leferrad commented 1 year ago

Description

Dependencies are not maintained, and therefore installation fails because of errors that were already solved with newer versions.

My suggestion is to just update the following dependencies lines:

    'scipy>=1.1.0',
    'numpy>=1.15.4',

What I Did

To make the tests work with these changes, it is only needed to update the values of bits_image to consider int() objects because of the change. So just changing to this line:

        bits_image = _image.data.int.return_value.cpu.return_value.numpy.return_value.tolist.return_value