LOSP! - it's cool.
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
| hellow |
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
| *.log | |
| losp_filter | |
| *.o | |
| *~ | |
| .\#* | |
| \#* | |
| *.lsp |
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 cv2 | |
| import time | |
| import math | |
| import numpy as np | |
| capture = cv2.VideoCapture(0) | |
| print capture.get(cv2.CAP_PROP_FPS) | |
| t = 100 | |
| w = 640.0 |
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
| FROM ubuntu | |
| RUN apt-get -y update | |
| RUN apt-get -y upgrade | |
| RUN apt-get -y dist-upgrade | |
| RUN apt-get -y autoremove | |
| # 2. INSTALL THE DEPENDENCIES | |
| # Build tools: |
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 logging | |
| _FMT = '%(filename)s : %(asctime)s : %(levelname)s : %(message)s' | |
| _log = logging.getLogger() | |
| _log.setLevel(logging.DEBUG) | |
| debug = _log.debug | |
| dbug = _log.debug | |
| info = _log.info |
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
| '''This script goes along the blog post | |
| "Building powerful image classification models using very little data" | |
| from blog.keras.io. | |
| It uses data that can be downloaded at: | |
| https://www.kaggle.com/c/dogs-vs-cats/data | |
| In our setup, we: | |
| - created a data/ folder | |
| - created train/ and validation/ subfolders inside data/ | |
| - created cats/ and dogs/ subfolders inside train/ and validation/ | |
| - put the cat pictures index 0-999 in data/train/cats |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ################ Lispy: Scheme Interpreter in Python | |
| ## (c) Peter Norvig, 2010; See http://norvig.com/lispy.html | |
| ################ Symbol, Procedure, Env classes | |
| from __future__ import division | |
| Symbol = str |
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
| *.log | |
| *~ | |
| *.pyc |