Closed yuxhuang closed 5 years ago
Hi,
I have a consistently reproducible std::bad_alloc error when trying to load a trained model SVC().load_from_file('/path/to/model'). On Windows,
std::bad_alloc
SVC().load_from_file('/path/to/model')
File "path\to\thundersvm.py", line 473, in load_from_file thundersvm.get_sv(csr_row, csr_col, csr_data, data_size, c_void_p(self.model)) OSError: exception: access violation reading 0x00000000000000AB
And on Linux,
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)
On both Windows and Linux, I built the code from your master branch with CUDA 10.0.
master
Attached is the model file that causes the error. SVC.zip
Hi @yuxhuang
Thanks for your feedback. We have fixed this bug. You can update the library and try again.
@GODqinbin thanks, it works fine now. Much appreciated.
Hi,
I have a consistently reproducible
std::bad_alloc
error when trying to load a trained modelSVC().load_from_file('/path/to/model')
. On Windows,And on Linux,
On both Windows and Linux, I built the code from your
master
branch with CUDA 10.0.Attached is the model file that causes the error. SVC.zip