Giter VIP home page Giter VIP logo

Comments (8)

azadsalam avatar azadsalam commented on June 6, 2024 1

In My case I solved it by putting everything in training.py inside main

from rl-starter-files.

lcswillems avatar lcswillems commented on June 6, 2024

Hi!
Could you give me the sequence of instructions I should execute to reproduce this?

from rl-starter-files.

sunandita avatar sunandita commented on June 6, 2024

Here are the steps I followed on Mac OS Mojave (Version 10.14.3):
Python environment: Anaconda3

  1. Cloned the rl-starter-files repository
  2. cd rl-starter-files
  3. conda install pytorch
  4. pip3 install -r requirements.txt
  5. python3 -m scripts.train.py --algo ppo --env MiniGrid-DoorKey-5x5-v0 --model DoorKey --save-interval 10 --frames 80000

Thanks,
Sunandita

from rl-starter-files.

lcswillems avatar lcswillems commented on June 6, 2024

Thanks! Do you have CUDA? Does it occur everytime or does it seem random?

from rl-starter-files.

sunandita avatar sunandita commented on June 6, 2024

It worked correctly only one time out of approximately 20 times that I tried running it.

from rl-starter-files.

sunandita avatar sunandita commented on June 6, 2024

I realized that my terminal was using system python3 not the conda python3. Using the conda python3 solved the issue.

from rl-starter-files.

lcswillems avatar lcswillems commented on June 6, 2024

Ha that's great! So I am closing since the issue seems to come from your side.

from rl-starter-files.

azadsalam avatar azadsalam commented on June 6, 2024

I am using conda ( and rechecked the python version) but getting this error

from rl-starter-files.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.