Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add generic file for NNet #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikhail
Copy link
Contributor

@mikhail mikhail commented May 30, 2020

Just want to start a conversation here -- this is an example of how one generic NNet file could exist (example in pytorch) ( #194 )

The only thing the individual games would have to specify is number of layers.

This is of course an oversimplification because all layers would be identical (same stride/padding) but this can be configurable as well.

@mikhail mikhail changed the title Exampel: Add generic file for NNet Example: Add generic file for NNet May 30, 2020
@mikhail
Copy link
Contributor Author

mikhail commented Jun 11, 2020

The main goal here is to provide a developer of a new game with an easy way to configure the learning layers. Some sort of abstraction layer where they could simply provide a configuration of something like this:

nnet_settings = {
    'layers': 10,
    'nnets': ['conv2d', 'batchnorm', 'linear']  # didn't do this
}

That's it. The abstraction layer would do the rest.

@mikhail mikhail marked this pull request as ready for review June 11, 2020 00:13
@mikhail mikhail force-pushed the generic_game_nnet branch 2 times, most recently from 746338f to 8a0308c Compare June 15, 2020 17:15
@mikhail
Copy link
Contributor Author

mikhail commented Jun 15, 2020

@suragnair This is pretty close to where I wanted to have it. Take a look?

@mikhail mikhail changed the title Example: Add generic file for NNet Proposal: Add generic file for NNet Jun 21, 2020
@mikhail
Copy link
Contributor Author

mikhail commented Jun 21, 2020

@suragnair this is working now. Would love your thoughts on this generalization

@mikhail mikhail force-pushed the generic_game_nnet branch 2 times, most recently from 94e2c1e to 6cd6431 Compare June 21, 2020 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant