View theano.gpu.config
floatX (('float64', 'float32', 'float16'))
Doc: Default floating-point precision for python casts.
Note: float16 support is experimental, use at your own risk.
Value: float64
warn_float64 (('ignore', 'warn', 'raise', 'pdb'))
Doc: Do an action when a tensor variable with float64 dtype is created. They can't be run on the GPU with the current(old) gpu back-end and are slow with gamer GPUs.
Value: ignore
View theano.cpu.config
floatX (('float64', 'float32', 'float16'))
Doc: Default floating-point precision for python casts.
Note: float16 support is experimental, use at your own risk.
Value: float64
warn_float64 (('ignore', 'warn', 'raise', 'pdb'))
Doc: Do an action when a tensor variable with float64 dtype is created. They can't be run on the GPU with the current(old) gpu back-end and are slow with gamer GPUs.
Value: ignore
View Dockerfile
# anaconda
RUN \
curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh && \
yes "yes" | bash Anaconda3-4.2.0-Linux-x86_64.sh && \
sudo bash -c ~/.bashrc
# conda dependencies: Intel MKL
RUN conda install -c anaconda mkl-service
View throttle.js
// Returns a function, that, when invoked, will only be triggered at most once
// during a given window of time. Normally, the throttled function will run
// as much as it can, without ever going more than once per `wait` duration;
// but if you'd like to disable the execution on the leading edge, pass
// `{leading: false}`. To disable execution on the trailing edge, ditto.
function throttle(func, wait, options) {
var context, args, result;
var timeout = null;
var previous = 0;
if (!options) options = {};
View MusicPlayerManager.swift
/*
See LICENSE folder for this sample’s licensing information.
Abstract:
The `MusicPlayerManager` manages the media playback using the `MPMusicPlayerController` APIs.
*/
import UIKit
import MediaPlayer
View console.log
2017-07-13 16:17:55.932463+0200 Adding-Content-to-Apple-Music[83643:2424889] [SDKPlayback] Attempting to use MPMusicPlayerController without Music.app installed.
2017-07-13 16:17:56.181066+0200 Adding-Content-to-Apple-Music[83643:2424889] -[_TtGCs26_SwiftDeferredNSDictionaryVs11AnyHashableP__ objectForKeyNotNull:]: unrecognized selector sent to instance 0x6080000346e0
2017-07-13 16:17:56.197245+0200 Adding-Content-to-Apple-Music[83643:2424889] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtGCs26_SwiftDeferredNSDictionaryVs11AnyHashableP__ objectForKeyNotNull:]: unrecognized selector sent to instance 0x6080000346e0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000106dd5c7b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000106062121 objc_exception_throw + 48
2 CoreFoundation 0x0000000106e537b4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation
View minibar-progressbar.html
<style>
.miniBarProgress {
background-color: #8a898a;
height: 100%;
position: absolute;
top: 0rem;
left: 0rem;
}
.miniBar {
height: 0.5rem;
View corenlp-sentiment.json
{
"version": 2,
"build": "2017-07-11 03:44:54.738619",
"trees": [{
"child0": {
"child0": {
"index": 3,
"leaf": true,
"rating": 13.0,
"text": "This",
View senteval-sentinfer-facebook-install.sh
# scipy, numpy, scikit-learn
pip install numpy
pip install scipy
pip install scikit-learn
pip install sklearn
# cabextract
sudo apt-get install cabextract
# conda needed for pytorch
curl https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -o Miniconda2-latest-Linux-x86_64.sh
# todo: needs manual [ENTER] the T&C agreement
View pytorch-conda-install.sh
curl https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -o conda.sh
bash conda.sh
source .bashrc
conda install pytorch torchvision cuda80 -c soumith