Skip to content

critter-mj/Mahjong_Supervised_Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Train model

    python train.py --action_type TYPE

Here, TYPE is one of dahai, reach, chi, pon, kan. Note that numpy feature must be dumped using akochan_ui, and variables test_prefix and train_prefix are set appropriately. A file train_tmp.pth will be created and updated in several steps of learning.

Dump cpu model

    python train.py --purpose dump_cpu_model --action_type TYPE

Dump cpu state_dict of supervised model from train_tmp.pth, which is applicable to Supervised_AI of akochan_ui.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages