Coder Social home page Coder Social logo

Comments (3)

cstayyab avatar cstayyab commented on July 23, 2024 1

Check the msgpack version using

pip3 freeze | grep msgpack

On my one system it is 0.6.2 and it is not giving error but on my other system msgpack version is 1.0.0 and it gives error. Downgrading to 0.6.2 should remove this error.

from machine_learning_security.

renzokushineshinemisairu avatar renzokushineshinemisairu commented on July 23, 2024

Check the msgpack version using

pip3 freeze | grep msgpack

On my one system it is 0.6.2 and it is not giving error but on my other system msgpack version is 1.0.0 and it gives error. Downgrading to 0.6.2 should remove this error.

Thanks for your answer. I resolved about the problem!

But, an other problem is happened.
I executed the following code, the following error occurs:

<code: #it's original: original row number =2290>
SESS.run(tf.global_variables_initializer()) # Initialize variable.

<result & error:>
[+] Executing start: local_thread1
[+] Executing start: local_thread2
[+] Executing start: local_thread3
[+] Executing start: local_thread4
[+] Executing start: local_thread5
[+] Executing start: local_thread6
[+] Executing start: local_thread7
[+] Executing start: local_thread8
[+] Executing start: local_thread9
[+] Executing start: local_thread10
[+] Executing start: local_thread11
[+] Executing start: local_thread12
[+] Executing start: local_thread13
[+] Executing start: local_thread14
[+] Executing start: local_thread15
[+] Executing start: local_thread16
[+] Executing start: local_thread17
[+] Executing start: local_thread18
[+] Executing start: local_thread19
[+] Executing start: local_thread20
Exception in thread Thread-2: #
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "DeepExploit.py", line 2422, in
job = lambda: worker.run(exploit_tree, target_tree, saver, env.save_file)
File "DeepExploit.py", line 2170, in run
self.environment.run(exploit_tree, target_tree)
File "DeepExploit.py", line 2052, in run
skip_flag, s, payload_list, target_list, target_info = self.env.reset_state(exploit_tree, target_tree)
File "DeepExploit.py", line 1201, in reset_state
self.normalization(ST_MODULE)
File "DeepExploit.py", line 881, in normalization
prompt_num = self.state[ST_MODULE]
IndexError: list index out of range

...(* it occurs at all thread.)

=============================================

Please help because I don't know what is bad.

from machine_learning_security.

LinCla avatar LinCla commented on July 23, 2024

使用 msgpack 版本检查

pip3 freeze | grep msgpack

在我的一个系统上, 它是 0.6.2, 它不给错误, 但我的另一个系统 msgpack 版本是 1.0.0, 它给出了错误。降级到 0.6.2 应删除此错误。

谢谢你的回答。我解决了这个问题!

How did you solve this problem, because I also encountered it; I look forward to your reply

from machine_learning_security.

Related Issues (20)

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.