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
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
import numpy as np | |
import cPickle as pickle | |
import gym | |
# hyperparameters | |
H = 200 # number of hidden layer neurons | |
batch_size = 10 # every how many episodes to do a param update? | |
learning_rate = 1e-4 | |
gamma = 0.99 # discount factor for reward |
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
# mimics the ctrl+shift+m behaviour in texmaker | |
atom.commands.add 'atom-text-editor', | |
'custom:insert-inline-latex-eqn': -> | |
return unless editor = atom.workspace.getActiveTextEditor() | |
selection = editor.getLastSelection() | |
selection.insertText("$#{selection.getText()}$") | |
if not editor.getSelectedText() | |
editor.moveLeft() | |
# puts selected text in a new align environment |
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
{ | |
"batch_name": "StableFun", | |
"outdir": "/content/drive/MyDrive/AI/StableDiffusion/2022-08/StableFun/", | |
"save_grid": false, | |
"save_settings": true, | |
"save_samples": true, | |
"display_samples": true, | |
"n_samples": 1, | |
"W": 768, | |
"H": 512, |
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
20220826082208_settings.txt | |
Who has access | |
Not shared | |
System properties | |
Type | |
Text | |
Size | |
2 KB | |
Storage used | |
2 KB |