Coder Social home page Coder Social logo

chenmingxiang110 / growing-neural-cellular-automata Goto Github PK

View Code? Open in Web Editor NEW
225.0 10.0 30.0 3.59 MB

A reproduction of growing neural cellular automata using PyTorch.

License: MIT License

Python 55.58% Jupyter Notebook 44.42%
cellular-automata neural-cellular-automata neural-networks deep-learning conway-s-game-of-life

growing-neural-cellular-automata's Introduction

Growing-Neural-Cellular-Automata

An unofficial reproduction of Growing Neural Cellular Automata using PyTorch:

Mordvintsev, et al., "Growing Neural Cellular Automata", Distill, 2020.

Run "training.ipynb" to train a model, and "main_pygame_dl.py" to play the demo (A pre-trained model is already given, see ./models).

growing-neural-cellular-automata's People

Contributors

chenmingxiang110 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

growing-neural-cellular-automata's Issues

RuntimeError when loading the model

Hi, I was new to torch, and I have no idea what is wrong with my code. I used your Jupiter notebook to train the model. When I try to load and do the inference, an error message showed up:

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU.

How to solve this problem?

Regarding the update rule

I have been following this GitHub repository. Can you explain why you decided to use fully connected layers? Why not use 2D convolutional layers instead?

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.