Giter VIP home page Giter VIP logo

tetris_mcts's People

Contributors

hrpan avatar neuralflux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tetris_mcts's Issues

Cannot include pyTetris.h

Hi!

Very nice project,

I'm trying to get it to run locally, and I think have installed everything (including pyTetris) as instructed but I cannot run the project.

The error I'm getting is:

/home/serdil/workspace/ypp/tetris_mcts/agents/cppmodule/.rendered.agent.cpp:12:9: fatal error: pyTetris.h: No such file or directory
 #include<pyTetris.h>
         ^~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Also, I've changed the line in agent.mcts to sys.path.append('/home/serdil/workspace/ypp/pyTetris/') (where I've cloned the pyTetris repo) and also tried adding the line to the entrypoint (play.py) but I've had no luck so far.

And I don't know if it's related but, I cannot see a pyTetris.h in the pyTetris project as well, is it supposed to be generated automatically by pybind11? I've also tried changing the pyTetris.h includes to pyTetris.cpp but it still gives me the same kind of error (pyTetris.cpp: No such file or directory). Am I doing something wrong here?

(Btw, I can include pyTetris in the python shell after installing it)

Thanks for the help in advance!

version details about the project

Hey, I literally wanted to try a combination of MCTS and TD learning on some retro games (inspiration from AlphaGo) and I stumbled upon your project. I'm excited to explore it and see if I can make a similar agent for different games. However, there seems to be an issue with caffe2 and PyTorch installation, as my Python version (3.8) does not seem to have the versions mentioned in the requirements.txt

I have tried installing it with Python 3.8, 3.6 and 3.5 but caffe2 just doesn't install (saying 0.8.1 is not available). Even the version which is available (caffe2 0.5.0a0.dev100) doesn't install due to some PyTorch issues. Could you please elaborate on what version of Python was used for this project? Also, did you have CUDA enabled for PyTorch (I have a CPU version ๐Ÿ˜ž )?

Thanks a lot for taking time to even read this stuff. I'd be very happy if I can just run your project on my PC.

MCTS simulation in parallel

Hey there,
I also use mcts to predict good actions. However in my case (multi player card game) it is very expensive to look ahead very far. For this reason I want to ask you if you know if there is a parallel mcts algorithm available?

I just found this one for CUDA written in C++ :
http://15418-final.github.io/parallelizedMCTS_web/

I would however like to have one in python.

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.