DCA
DCA copied to clipboard
TypeError: predict() missing 2 required positional arguments: 'dynamic_option' and 'order_learning'
Issue:
Running the following command:
python main.py --mode eval --order offset --model_path 'Model/model' --method SL
Raises the following error:
TypeError: predict() missing 2 required positional arguments: 'dynamic_option' and 'order_learning'
Is this the correct fix?
As I can see it, the main.py
script should have the following line.
predictions = ranker.predict(data, args.isDynamic, ranker.model.order_learning)
- Would this be the correct way to run the main script for eval?
- What is
order_learning
?