autonomous-learning-library icon indicating copy to clipboard operation
autonomous-learning-library copied to clipboard

Warning for multiagent

Open benblack769 opened this issue 4 years ago • 0 comments

There is a try-catch block here that emits a warning when using the multi-agent preset. The warning is created because creating a pytorch tensor out of a list of strings gives a ValueError.

Its not ideal that a warning is emitted with standard usage. An alternative is to have an if statement to explicitly catch that case. Something like

elif isinstance(v, str):
    ...

benblack769 avatar Jan 29 '21 03:01 benblack769