Giter Club home page Giter Club logo

pystc's Introduction

pystc's People

Contributors

daniellerch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pystc's Issues

Error

I got error report as below, could you please give me some help?

E:\Python38-32\python.exe D:/pythonProject/pySTC/example.py
D:/pythonProject/pySTC/example.py:21: RuntimeWarning: divide by zero encountered in true_divide
costs = 1/costs
Traceback (most recent call last):
File "D:/pythonProject/pySTC/example.py", line 29, in
stc.embed(input_image, costs, 'files/message.txt', 's3cr3t', 'files/stego.png')
File "D:\pythonProject\pySTC\stc.py", line 78, in embed
[[1. 1. 1. ... 1. 1. 1. ]
[1. 1. 1. ... 1. 1. 1. ]
[1. 1. 1. ... 1. 1. 1. ]
...
[0.0178742 0.02157266 0.02523229 ... 0.02048906 0.01882514 0.01686236]
[0.01601581 0.01954549 0.02305643 ... 0.01872607 0.0171745 0.01529094]
[0.0141472 0.01750594 0.02085815 ... 0.01721902 0.01574729 0.01393726]]
lib = cdll.LoadLibrary(os.path.join(me, "lib", "stc.so"))
File "E:\Python38-32\lib\ctypes_init_.py", line 451, in LoadLibrary
return self.dlltype(name)
File "E:\Python38-32\lib\ctypes_init
.py", line 373, in init
self._handle = _dlopen(self._name, mode)

WindowsError: [Error 193] %1 is not a valid Win32 application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.