shogun-toolbox / shogun

Shōgun
http://shogun-toolbox.org
BSD 3-Clause "New" or "Revised" License
3.03k stars 1.04k forks source link

About CombinedFeatures #5179

Closed ParkSJ-91 closed 2 years ago

ParkSJ-91 commented 2 years ago

Hi,

I want to test benchmark model that built based on Shogun, but actually I cannot find what version they used.

Only a hint is that they made their model based on python 2.6.

I know they used very old version.. but I should use this model.

Anyway, I installed python version 2.7.15 because I cannot access pip from python 2.6.

And I installed many versions of shogun including 5.0.0, 4.1.0, and 4.0.0.

And I tried load previously built model that compressed as bz2 by using cPickle.

And I got these errors

[WARN] In file ~/New/build/shogun-old/downloads/shogun-shogun_4.0.0/src/shogun/io/SerializableFile.cpp line 122: Could not read kernel/lhs/preproc' from/tmp/fileejKLFs'!

...

pred = svm.apply(test_feat)

SystemError: [ERROR] In file ~/New/build/shogun-old/downloads/shogun-shogun_4.0.0/src/shogun/machine/KernelMachine.cpp line 267: SVMLight: No vectors on left hand side (CombinedFeatures). This is probably due to an implementation error in , where it was forgotten to set the data (m_svs) indices

If I built and saved new model and try to load it, it worked.

But trying to load previously made model, it didn't work.

So, in this case, the problem may be in version of python or version of shogun ?

Are there anybody familiar with this problem ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue is now being closed due to a lack of activity. Feel free to reopen it.