Code Monkey home page Code Monkey logo

hog-svm-classifer's People

Contributors

subicwang avatar

Stargazers

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

hog-svm-classifer's Issues

KeyError: 'data'

I use the python3. I meet a issues when load the data. Is there any solution to the mistake? The details are as follow:
"Traceback (most recent call last):
File "E:/python/svm/extractFeat.py", line 72, in
TrainData, TestData = getData(filePath)
File "E:/python/svm/extractFeat.py", line 32, in getData
train = np.reshape(data['data'], (10000, 3, 32 * 32))
KeyError: 'data'"

for feat_path in glob.glob(os.path.join(train_feat_path, '*.feat')):这句总是报错

学姐宁好~
我运行时for feat_path in glob.glob(os.path.join(train_feat_path, '*.feat')):这句总是报错,显示NameError: name 'train_feat_path' is not defined,但是我按百度说的解决方案试了还是不可以,宁能给我讲讲这是因为什么原因嘛,谢谢学姐

还有个提示:D:\Anaconda3\lib\site-packages\sklearn\externals\joblib_init_.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.
warnings.warn(msg, category=DeprecationWarning)

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.