This file has been truncated, but you can view the full file.
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
node { | |
name: "x_pl" | |
op: "Placeholder" | |
attr { | |
key: "dtype" | |
value { | |
type: DT_FLOAT | |
} | |
} | |
attr { |
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/python2 | |
from pycocotools.coco import COCO | |
import skimage.io as io | |
import matplotlib.pyplot as plt | |
import os | |
import shutil | |
import numpy as np | |
import cv2 |
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 | |
import numpy as np | |
# define the grid size | |
size_h = 4 | |
size_w = 4 | |
# define the actions | |
actions = ["up", "down", "left", "right"] |
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 | |
import numpy as np | |
# define the grid size | |
size_h = 4 | |
size_w = 4 | |
# define the actions | |
actions = np.array(["up", "down", "left", "right"]) |
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 | |
import numpy as np | |
# define the grid size | |
size_h = 4 | |
size_w = 4 | |
# define the actions | |
actions = np.array(["up", "down", "left", "right"]) |
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 mount functions | |
remote-mount() | |
{ | |
# Mount a remote ssh root directory in /media/$USER/remotes/[remote alias] | |
# This function requires 1 argument, which is the ssh alias you made for the | |
# remote in your .ssh/config. | |
# If the directory is not created, it will try to, but this part is probably only | |
# going to be called the first time for each remote, unless you change the alias. | |
# To unmount, see remote-unmount(). | |
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 | |
import requests | |
from lxml import html | |
import json | |
import shutil | |
import cv2 | |
import numpy as np | |
# where to look for earthview |
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/python3 | |
import os | |
import gi | |
import random | |
import yaml | |
import subprocess | |
import queue | |
from threading import Thread | |
from queue import Queue | |
gi.require_version('Gtk', '3.0') |
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 | |
import numpy as np | |
import cv2 | |
import time | |
import os | |
DIM = 0.5 | |
ROOTDIR = "/home/tano/Dropbox/earth" | |
SAVEDIR = "/home/tano/Dropbox/earth/dimmed" |