Thijsvanede/DeepLog

TypeError: forward() missing 2 required positional arguments: 'input' and 'target'

Closed this issue · 0 comments

This is the problem I'm having,here is log:

~/logdeep/DeepLog-master$ python3 -m deeplog train --csv ../train.csv --save deeplog.save
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/sunny.gui/logdeep/DeepLog-master/deeplog/main.py", line 108, in
deeplog.fit(
File "/home/sunny.gui/.local/lib/python3.8/site-packages/torchtrain/module.py", line 83, in fit
criterion = criterion()
File "/home/sunny.gui/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
TypeError: forward() missing 2 required positional arguments: 'input' and 'target'