Skip to content

Instantly share code, notes, and snippets.

View rguthrie3's full-sized avatar

Robert rguthrie3

View GitHub Profile
@rguthrie3
rguthrie3 / bug.py
Created March 8, 2017 00:20
pytorch bug?
import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
class WorkingModule(nn.Module):
def __init__(self):
@rguthrie3
rguthrie3 / # opencv3 - 2017-01-11_17-56-08.txt
Created January 11, 2017 23:13
opencv3 (homebrew/science/opencv3) on macOS 10.12.1 - Homebrew build logs
Homebrew build logs for homebrew/science/opencv3 on macOS 10.12.1
Build date: 2017-01-11 17:56:08
import java.util.Date;
import java.util.Vector;
public class PolicyIteration implements Algorithms {
private double precision;
private boolean converged;
private int[][] currPolicy;
private Maze myMaze;
private double pjog;