How to evaluate actors trained in custom environments in rllib (Ray)?How to draw pixels for ray-tracing in C++?LWJGL - How to trace a ray effectively and efficiently?How to do a Ray/Direction 2D system?How large data can Python Ray handle?Ray: How to run many actors on one GPU?How to do the inference on carla after training on Ray cluster?How to make an actor do two things simultaneously?How to set up ray project autoscaling on GCPHow can I use the python logging in Ray?Should I set `inter_op_parallelism_threads` and `intra_op_parallelism_threads` to 1 when I use ray to create a actor?

Do I have to mention my main character's age?

Why do the top heroes in Boku no Hero Academia only come from Japan?

How old is the Italian word "malandrino"?

Stella and the president's secret notes

How to help my daughter fairly

Is it better to merge "often" or only after completion do a big merge of feature branches?

How deep is the Underdark? What is its max and median depth?

Did the 1202 error and associated reboot prevent disaster on Apollo 11 landing?

Book in which the "mountain" in the distance was a hole in the flat world

Is it better to have a 10 year gap or a bad reference?

What is the metal bit in the front of this propeller spinner?

On a Gameboy, what happens when attempting to read/write external RAM while RAM is disabled?

Quickest way to move a line in a text file before another line in a text file?

Do I care if the housing market has gone up or down, if I'm moving from one house to another?

Is there an English word to describe when a sound "protrudes"?

What happens to a permanent I gained control over using Agent of Treachery, and I leave a multiplayer game?

Brute-force the switchboard

Why is DC so, so, so Democratic?

Pass USB 3.0 connection through D-SUB connector

Finding Greatest Common Divisor using LuaLatex

ADC Calibration - Vdd calculation

What is the intuition for higher homotopy groups not vanishing?

Does observational data need further proof?

What does a Nintendo Game Boy do when turned on without a game cartridge inserted?



How to evaluate actors trained in custom environments in rllib (Ray)?


How to draw pixels for ray-tracing in C++?LWJGL - How to trace a ray effectively and efficiently?How to do a Ray/Direction 2D system?How large data can Python Ray handle?Ray: How to run many actors on one GPU?How to do the inference on carla after training on Ray cluster?How to make an actor do two things simultaneously?How to set up ray project autoscaling on GCPHow can I use the python logging in Ray?Should I set `inter_op_parallelism_threads` and `intra_op_parallelism_threads` to 1 when I use ray to create a actor?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Following the SimpleCorridor example I can create my own env and train a model! nice. But when I try to evaluate this trained model, rllib does not recognize my custom env.



How can I evaluate a trained model on a custom environment?



When I use rllib rollout ... like its suggested here it does not recognize my env because it's custom one. I was hoping to have a function like run_experiments but like evaluate_experiment so I can call it on my project inside one of my files.



Thats the issue.
If you want to see my custon_env is this one



Right now I'm having to copy my environment and paste it inside the gym/envs/ package directory and register it in the __init__.py file.



Would be good to see another way to do this



Thanks










share|improve this question




























    0















    Following the SimpleCorridor example I can create my own env and train a model! nice. But when I try to evaluate this trained model, rllib does not recognize my custom env.



    How can I evaluate a trained model on a custom environment?



    When I use rllib rollout ... like its suggested here it does not recognize my env because it's custom one. I was hoping to have a function like run_experiments but like evaluate_experiment so I can call it on my project inside one of my files.



    Thats the issue.
    If you want to see my custon_env is this one



    Right now I'm having to copy my environment and paste it inside the gym/envs/ package directory and register it in the __init__.py file.



    Would be good to see another way to do this



    Thanks










    share|improve this question
























      0












      0








      0


      1






      Following the SimpleCorridor example I can create my own env and train a model! nice. But when I try to evaluate this trained model, rllib does not recognize my custom env.



      How can I evaluate a trained model on a custom environment?



      When I use rllib rollout ... like its suggested here it does not recognize my env because it's custom one. I was hoping to have a function like run_experiments but like evaluate_experiment so I can call it on my project inside one of my files.



      Thats the issue.
      If you want to see my custon_env is this one



      Right now I'm having to copy my environment and paste it inside the gym/envs/ package directory and register it in the __init__.py file.



      Would be good to see another way to do this



      Thanks










      share|improve this question














      Following the SimpleCorridor example I can create my own env and train a model! nice. But when I try to evaluate this trained model, rllib does not recognize my custom env.



      How can I evaluate a trained model on a custom environment?



      When I use rllib rollout ... like its suggested here it does not recognize my env because it's custom one. I was hoping to have a function like run_experiments but like evaluate_experiment so I can call it on my project inside one of my files.



      Thats the issue.
      If you want to see my custon_env is this one



      Right now I'm having to copy my environment and paste it inside the gym/envs/ package directory and register it in the __init__.py file.



      Would be good to see another way to do this



      Thanks







      ray






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 13:05









      Lucas DraichiLucas Draichi

      14 bronze badges




      14 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can copy the rollout.py script and modify it to register any custom envs or models in the start of the script. That will allow it to work with any envs not on gym already.






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55357909%2fhow-to-evaluate-actors-trained-in-custom-environments-in-rllib-ray%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You can copy the rollout.py script and modify it to register any custom envs or models in the start of the script. That will allow it to work with any envs not on gym already.






            share|improve this answer



























              0














              You can copy the rollout.py script and modify it to register any custom envs or models in the start of the script. That will allow it to work with any envs not on gym already.






              share|improve this answer

























                0












                0








                0







                You can copy the rollout.py script and modify it to register any custom envs or models in the start of the script. That will allow it to work with any envs not on gym already.






                share|improve this answer













                You can copy the rollout.py script and modify it to register any custom envs or models in the start of the script. That will allow it to work with any envs not on gym already.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 21:43









                EricEric

                16




                16


















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55357909%2fhow-to-evaluate-actors-trained-in-custom-environments-in-rllib-ray%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해