Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #88

Open
leferrad opened this issue Mar 23, 2023 · 0 comments
Open

Update dependencies #88

leferrad opened this issue Mar 23, 2023 · 0 comments

Comments

@leferrad
Copy link

  • SteganoGAN version or git commit: master 513912f
  • Python version (output of python --version): Python 3.8.10
  • Pip version (output of pip --version): pip 23.0
  • PyTorch version (output of python -c "import torch; print(torch.__version__)"): 1.13.1+cu117
  • Operating System: Linux 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant