This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote: raise ImproperlyConfigured("You're using the staticfiles app " | |
remote: django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path. | |
remote: | |
remote: ! Error while running '$ python manage.py collectstatic --noinput'. | |
remote: See traceback above for details. | |
remote: | |
remote: You may need to update application code to resolve this error. | |
remote: Or, you can disable collectstatic for this application: | |
remote: | |
remote: $ heroku config:set DISABLE_COLLECTSTATIC=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Most of this code is borrowed by niffler92's project. | |
https://github.com/niffler92/SNGAN | |
""" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
class DEPNetwork: | |
''' | |
Neural network trained with Differential extrinsic plasticity. | |
[1] Novel plasticity rule can explain the development of sensorimotor intelligence. PNAS. 2015 | |
[2] Behavior as broken symmetry in embodied self-organizing robots. ECAL. 2013 | |
''' | |
def __init__(self, action_size, lr=0.1): |