Coder Social home page Coder Social logo

rlcard-showdown's People

Contributors

daochenzha avatar dependabot[bot] avatar hsywhu avatar lpan18 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

rlcard-showdown's Issues

gpy error occurred after npm install --force --legacy-peer-deps

gyp error message:

File "/home/.node-gyp/20.9.0/include/node/common.gypi", line 1
npm ERR! nerate ',
npm ERR! ^
npm ERR! SyntaxError: EOL while scanning string literal
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/home/RLCard/rlcard-showdown/node_modules/node-gyp/lib/configure.js:345:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Linux 5.19.0-47-generic
npm ERR! gyp ERR! command "/usr/local/lib/nodejs/node-v20.9.0-linux-x64/bin/node" "/home/RLCard/rlcard-showdown/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /home/RLCard/rlcard-showdown/node_modules/node-sass
npm ERR! gyp ERR! node -v v20.9.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2023-11-20T03_48_32_851Z-debug-0.log

nodejs版本

请问一下nodejs使用哪个版本可以正常运行

PvE can't run

Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

python3 manage.py migrate not working

I am running this on Windows 10 in both Windows Poer Shell and Pycharm platform but
when I run this

python3 manage.py migrate

I get these issues:

System check identified some issues:

WARNINGS:
tournament.Game: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
        HINT: Configure the DEFAULT_AUTO_FIELD setting or the TournamentConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.model
s.BigAutoField'.
tournament.Payoff: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
        HINT: Configure the DEFAULT_AUTO_FIELD setting or the TournamentConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.model
s.BigAutoField'.
tournament.UploadedAgent: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
        HINT: Configure the DEFAULT_AUTO_FIELD setting or the TournamentConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.model
s.BigAutoField'.
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions, tournament
Running migrations:
  No migrations to apply.

This causes the server to not run properly.

Page not found (404)
Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Using the URLconf defined in server.urls, Django tried these URL patterns, in this order:

tournament/
admin/
The empty path didn’t match any of these.

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Error in getting replay data

After Launching Tournaments in guide.md, I Click the replay button doudizhu-rule-v1 to watch the replay with doudizhu, BUT when i click start in http://localhost:3000/replay/doudizhu, Suddenly prompt me “Error in getting replay data”, Then prompted the following error “TypeError: Cannot read property 'length' of undefined”. The replay button of Texas Hold'em will not report an error, This is very confusing to me.

Proposal to add game mahjong

Hi, I am researching DL/RL on Mahjong game, and I am very keen to help add the mahjong to this platform, Is is open for code contributing now?

npm install !!! error

npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^16.12.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.4.2" from [email protected]
npm ERR! node_modules/react-addons-css-transition-group
npm ERR! react-addons-css-transition-group@"^15.6.2" from the root project

Can not run rlcard-showdown

您好!非常感谢您开发的 rlcard 和 rlcard-showdown 工具。我正在用 rlcard-showdown 将自己训练的扑克机器人进行可视化,但一直没有成功搭建起 rlcard-showdown 的环境。

我使用过本地的 Mac OS 系统,但由于网络问题,下载依赖的速度太慢,于是我选择使用 gitpod.io 这个云代码平台。我按照 https://github.com/datamllab/rlcard-showdown#installation#41gitpod.io 上尝试了搭建了很多次,得到的结果基本都是:

  1. cd pve_server 再 python3 manage.py runserver 开启 8000 端口后,显示 Page not found。
    image

  2. cd pve_server 再 python3 run_dmc.py 开启 5000 端口后,显示 Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
    image

  3. 使用 node v10,再 npm start 开启 3000 端口后,能看到主页界面,但 LAUNCH TOURNAMENT 后显示 Failed to launch tournament,并且 UPLOAD MODEL 也显示 Failed to upload model
    image
    image

请问是否可以再提供一些安装指引?如果能在 gitpod.io 这个平台上跑通也好哇。非常感谢!

前端项目安装报错

我用最新的稳定版nodejs(v16.13.0),安装报错。mac和windows都试过不行。
image
加了--legacy-peer-deps参数后提示需要python2.7
指定了--python后还有其他错误

无法在 macOS M1 芯片(ARM)环境下安装

Could not find a version that satisfies the requirement onnxruntime (from -r requirements.txt (line 8)) (from versions: )
No matching distribution found for onnxruntime (from -r requirements.txt (line 8))

cannot interact with django server when scripts are run in a remote server

Hi, I have run the following on my local computer to start a remote service:

python manage.py runserver 0.0.0.0:8000

I can visit remote_ip:8000 this way. However it shows a blank table with no records read from the database (i.e., db.sqlite3) after I type npm start. Things went perfectly fine when I serve both on my local computer (even a remote frontend and local backend combination could work).

I wonder what configurations should be done to deal with it. Thanks for your work.

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.