Giter Club home page Giter Club logo

Comments (6)

xuyxu avatar xuyxu commented on June 7, 2024

Hi @niliy, could you show me the version of all packages in requirements.txt?

from deep-forest.

niliy avatar niliy commented on June 7, 2024

Python 3.7.0
conda 4.9.2
scikit-learn 0.24.1
numpy 1.14.5
numpy-base 1.14.5
numpydoc 1.1.0
scipy 1.1.0
joblib 1.0.1

from deep-forest.

niliy avatar niliy commented on June 7, 2024

报错的详细内容如下:
ValueError Traceback (most recent call last)
in
----> 1 from deepforest import CascadeForestClassifier

~\Anaconda3\lib\site-packages\deepforest_init_.py in
----> 1 from .cascade import CascadeForestClassifier, CascadeForestRegressor
2 from .forest import RandomForestClassifier, RandomForestRegressor
3 from .forest import ExtraTreesClassifier, ExtraTreesRegressor
4 from .tree import DecisionTreeClassifier, DecisionTreeRegressor
5 from .tree import ExtraTreeClassifier, ExtraTreeRegressor

~\Anaconda3\lib\site-packages\deepforest\cascade.py in
13 from sklearn.base import is_classifier
14
---> 15 from . import _utils
16 from . import _io
17 from ._layer import ClassificationCascadeLayer, RegressionCascadeLayer

~\Anaconda3\lib\site-packages\deepforest_utils.py in
5 from datetime import datetime
6
----> 7 from . import _cutils as _LIB
8
9

deepforest_cutils.pyx in init deepforest._cutils()

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

from deep-forest.

xuyxu avatar xuyxu commented on June 7, 2024

I can reproduce the problem. It looks like updating numpy solves your problem:

pip install numpy==1.19.*

We will update the lowest version of numpy in our requirements.txt, thanks!

from deep-forest.

niliy avatar niliy commented on June 7, 2024

Python 3.6.4
conda 4.4.10
joblib 1.0.1
numpy 1.19.5
scipy 1.5.4
scikit-learn 0.24.1
这样的配置可执行,感谢您的回复

from deep-forest.

xuyxu avatar xuyxu commented on June 7, 2024

Feel free to open another issue if you have any problem :-)

from deep-forest.

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.