This file contains hidden or 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 glob | |
import pdb | |
import os | |
import shutil | |
from collections import OrderedDict | |
import cv2 | |
import numpy as np |
This file contains hidden or 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 | |
import torch | |
import torch.nn as nn | |
import matplotlib.pyplot as plt | |
def load_data(num_images=2000): | |
''' | |
Reads in images and labels from MNIST files. | |
''' | |
# Reads in images |
This file contains hidden or 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 torch | |
import torch.nn as nn | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from sklearn.datasets import load_iris | |
def test(net, data, target): | |
''' | |
Returns number correct. | |
''' |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simpleplane"> | |
<!-- Colors --> | |
<material name="grey"> | |
<color rgba="0.91 0.925 0.945 1"/> | |
</material> | |
<!-- Plane --> | |
<link name="base_link"> | |
<visual> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simplecar"> | |
<!-- Colors --> | |
<material name="black"> | |
<color rgba="0 0 0 1"/> | |
</material> | |
<material name="blue"> | |
<color rgba="0.6 0.7 0.8 1"/> | |
</material> |
This file contains hidden or 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
<!-- Left Front Wheel --> | |
<link name="left_front_wheel"> | |
<visual> | |
<geometry> | |
<cylinder length="0.05" radius="0.1"/> | |
</geometry> | |
<origin rpy="1.57075 1.57075 0"/> | |
<material name="black"/> | |
</visual> | |
<collision> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simplecar"> | |
<material name="black"> | |
<color rgba="0 0 0 1"/> | |
</material> | |
<material name="blue"> | |
<color rgba="0.6 0.7 0.8 0.7"/> | |
</material> | |
<!-- Base Frame of Car --> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simplecar"> | |
<material name="black"> | |
<color rgba="0 0 0 1"/> | |
</material> | |
<material name="blue"> | |
<color rgba="0.6 0.7 0.8 0.7"/> | |
</material> | |
<!-- Base Frame of Car --> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simplecar"> | |
<!-- Base Frame of Car --> | |
<link name="base_link"> | |
<visual> | |
<geometry> | |
<box size="0.5 0.3 0.1"/> | |
</geometry> | |
</visual> | |
</link> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<robot name="simplecar"> | |
<!-- Base Frame of Car --> | |
<link name="base_link"> | |
<visual> | |
<geometry> | |
<box size="0.5 0.3 0.1"/> | |
</geometry> | |
</visual> | |
</link> |