shinTB
shinTB copied to clipboard
missing 1 required positional argument: 'outputdrawer'
Getting this error when I run "runner = runner.Runner(config, graphdrawer, dataloader, dbcontrol)" :-
Traceback (most recent call last):
File "
Hi. While not in the documentation, I fixed that by changing the shintb
import to:
from shintb import graph_drawer, output_drawer, default_box_control, svt_data_loader, runner
then adding the variable with runner:
outputdrawer = output_drawer.OutputDrawer(config, dbcontrol)
runner = runner.Runner(config, graphdrawer, dataloader, dbcontrol, outputdrawer)
I also found that with runner.train()
you need two args, being a name for the training set, and an int to iterate to with training cycles. ie runner.train('train_data', 2000)
. Hope this helps you :)
@MattBSG in your case, how many training iterations did you do to achieve fairly good results? Thanks.