Skip to content

How to Configure DI-engine for Single Custom Environment Setup in Training and Evaluation? #865

@Nnasan

Description

@Nnasan

Hello, I am currently working on a project using DI-engine and I have a question regarding training and evaluation with a single environment.

In the DI-engine framework, I understand that the collector_env_num and evaluator_env_num parameters are used to manage the number of environments during training and evaluation. However, in my case, I only have one environment instance available, and I am wondering if it is possible to run training and evaluation with just one environment?

I tried configuring collector_env_num and evaluator_env_num to 1, but I am not sure if there are any issues with resource contention when switching between training and evaluation modes, especially since both use the same environment instance.

Could you provide guidance on how to properly configure DI-engine for a single environment setup, and whether there are any specific steps or considerations I should be aware of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDiscussion of a typical issueenvQuestions about RL environment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions