{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" } }, "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "AKoInktmr-3t" }, "outputs": [], "source": [ "# Remember to install tianshou first\n", "!pip install tianshou==0.4.8\n", "!pip install gym" ] }, { "cell_type": "markdown", "source": [ "# Overview\n", "From its literal meaning, we can easily know that the Collector in Tianshou is used to collect training data. More specificly, the Collector controls the interaction between Policy (agent) and the environment. It also helps save the interaction data into the ReplayBuffer and returns episode statistics.\n", "\n", "