Code Monkey home page Code Monkey logo

mtg-rnn's People

Contributors

ajkl avatar audy avatar billzorn avatar donglixp avatar ericzeiberg avatar germuth avatar guillitte avatar hughperkins avatar johnny5550822 avatar josephmmisiti avatar karpathy avatar maurizi avatar mpiffault avatar siemiatj avatar skwerlman avatar yafahedelman 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mtg-rnn's Issues

mtgjson 4.4.2 changes rarity format

The most recent release of AllSets.json from MTGJson has some changes that break the script.

  1. Rarities are encoded in lower-case letters only
  2. Mythic Rare is stored as "mythic"
  3. Time Spiral Timeshifted rarity has been moved to rare
  4. Basic Lands are now common.

Other than a couple silver-bordered sets that need excluding to avoid all the unicode characters, it seems to work when the lower-case rarities are implemented for common through mythic. The last two merely affect how the net will associate rarities, and are less important.

sample_hs_v3.lua column setting parameters do not map to data parameters

I'm guessing somewhere along the way that the order that fields are fed to the neural network changed, and the script was never updated. Priming with the rarity parameter (I think) actually primes the name, and so on.
A sound plan would probably be to use the numbers that follow the fields as an identifier layer (those are less likely to change than the field order) and have the script use those as a mapping to the correct fields. This should reduce the amount of maintenance that would need to be done when column orders are changed in the future.

PANIC: unprotected error in call to Lua API (not enough memory)

Not sure if this is even a bug with the repo, since it seems like a Lua error. Just wondering if anyone's run into this issue before.

Command

th train.lua -rnn_size 256 -num_layers 3 -seq_length 200 -data_dir data/mtgencode-std -checkpoint_dir cv/mtgencode-std/ -eval_val_every 1000 -seed 7767

Result

...
997/12000 (epoch 4.154), train_loss = 0.55129399, grad/param norm = 1.9592e-01, time/batch = 2.6165s
998/12000 (epoch 4.158), train_loss = 0.55412990, grad/param norm = 2.0948e-01, time/batch = 2.6173s
999/12000 (epoch 4.163), train_loss = 0.55656064, grad/param norm = 2.2091e-01, time/batch = 2.5914s
evaluating loss over split index 2
1/13...
PANIC: unprotected error in call to Lua API (not enough memory)

  • OS X 10.11.6 El Capitan
    • (I know, I know, the repo says to use Linux, but everything seems to run fine)
  • Memory: 16GB 1600 MHz DDR3
  • Graphics: Intel Iris Pro 1536 MB

cltorch cannot be directly downloaded via luarocks

cltorch has changed their installation process. It instead goes through distro-cl to get cltorch and clnn.

I haven't gleaned all the details, but the process in the readme on the front page has been obsoleted.

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.