difacto icon indicating copy to clipboard operation
difacto copied to clipboard

Can't run example code

Open josepablog opened this issue 9 years ago • 3 comments
trafficstars

Although I wasn't able to build on MacOS, the project built on Linux. However, I try to follow the example steps, and it breaks when I try to build a model:

build/difacto data_in=data/gisette_scale val_data=data/gisette_scale.t lr=.02 V_dim=2 V_lr=.001

The error is:

terminate called after throwing an instance of 'dmlc::ParamError'
  what():  Required parameter batch_size of int is not presented
Aborted (core dumped)

josepablog avatar Nov 11 '16 21:11 josepablog

pls set batch_size in ur command

CNevd avatar Nov 12 '16 03:11 CNevd

build/difacto data_in=data/gisette_scale val_data=data/gisette_scale.t lr=.02 V_dim=2 V_lr=.001 batch_size=10240 model_out=./fm.model task=train learner=lbfgs

this is my run command, and it worked done, but I can't find the output model file, where is it ???

xujianjlu avatar Oct 09 '17 08:10 xujianjlu

same question

waterzxj avatar Apr 16 '20 13:04 waterzxj