error in "./core/multinet.py"
chaoshengt opened this issue · 3 comments
chaoshengt commented
when i run the code ,it appeared:
multinet.py:791: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
How to fix it?
SkBlaz commented
Interesting, thanks for pointing this out! Could you provide a minimal example so I can reproduce this?
Thanks!
SkBlaz commented
I've refactored this part now:
https://github.com/SkBlaz/py3plex/blob/master/examples/example_numeric_encoding.py
hope this helps.
chaoshengt commented
I've refactored this part now:
https://github.com/SkBlaz/py3plex/blob/master/examples/example_numeric_encoding.py
hope this helps.
Thank you :)