autonomous-learning-library
autonomous-learning-library copied to clipboard
Warning for multiagent
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):
...