ExaScience / smurff

Bayesian Factorization with Side Information in C++ with Python wrapper
MIT License
70 stars 14 forks source link

running SMURF problem #138

Closed yustiks closed 3 years ago

yustiks commented 3 years ago

Hello! I am trying to run Jupiter example, and I get the error:

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-5-aae174b8ba6d> in <module>
      9                        save_freq = 1,)
     10 
---> 11 predictions = trainSession.run()

wrapper.pyx in smurff.wrapper.TrainSession.run()

wrapper.pyx in smurff.wrapper.TrainSession.step()

RuntimeError: line: 475 file: /usr/local/miniconda/envs/buildEnv/conda-bld/smurff_1616066183494/work/lib/smurff-cpp/SmurffCpp/Utils/StepFile.cpp function: remove
assert: Unexpected data in step file

I run the 'a_first_example.ipynb' in docs/notebooks folder. What is the problem?

tvandera commented 3 years ago

Hi,

It seems the save_prefix already contains data from a previous run that aborted. Can you set verbose = 2 and check the notebook and/or terminal output?

Tom

tvandera commented 3 years ago

Please give the latest version a try: 0.17.0 -- https://anaconda.org/vanderaa/smurff