You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the provided code examples, it appears that the training function is not being used properly. Specifically, in both cases cited by the code-line links, the variable named result is being assigned a trainer class which is never used.
Proposed Solution
To address this issue, I suggest changing the class instance from result to trainer and assign the ouput of its function run() to the variable result; using it as follows:
Issue Description
In the provided code examples, it appears that the training function is not being used properly. Specifically, in both cases cited by the code-line links, the variable named
result
is being assigned a trainer class which is never used.Proposed Solution
To address this issue, I suggest changing the class instance from
result
totrainer
and assign the ouput of its functionrun()
to the variableresult
; using it as follows:or more efficiently:
Affected Code Lines
tianshou/docs/02_notebooks/L6_Trainer.ipynb
Lines 193 to 204 in ea48cc2
tianshou/docs/02_notebooks/L7_Experiment.ipynb
Lines 241 to 252 in ea48cc2
The text was updated successfully, but these errors were encountered: