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 os | |
import plistlib | |
import sys | |
try: | |
import yaml | |
except ImportError: | |
pass |
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
# -*- coding: utf-8 -*- | |
"""Basic tokenization and counting of nouns and verbs in a set of phrases.""" | |
# Standard lib imports | |
from typing import Tuple, Dict, Union, List | |
# SpaCy imports | |
import spacy |
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
# -*- coding: utf-8 -*- | |
# | |
# Copyright © Spyder Project Contributors | |
# Licensed under the terms of the MIT License | |
# | |
"""Tests for the plugin.""" | |
# Test library imports |
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
# Third party imports | |
import numpy as np | |
from Cython.Build import cythonize | |
from setuptools import Extension, find_packages, setup | |
ext_modules = [ | |
Extension( | |
'util.nms', | |
sources=['util/external/nms.pyx'], | |
include_dirs=[np.get_include()], |
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
imgDir = 'BSR/BSDS500/data/images/test'; | |
gtDir = 'BSR/BSDS500/data/groundTruth/test'; | |
inDir = '<Folder that contains the .mat files>'; | |
outDir = 'eval/test/<name_of_yout_method>'; | |
mkdir(outDir); | |
nthresh = 99; | |
tic; | |
allBench_fast(imgDir, gtDir, inDir, outDir, nthresh); | |
toc; |
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
# Enumerate all the Tornado servers here | |
upstream frontends { | |
server 127.0.0.1:8000; | |
} | |
server { | |
listen 80; | |
server_name webhook.margffoy-tuay.com; | |
# Allow file uploads | |
client_max_body_size 50M; |
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
tamBuffer=4 | |
numClientes=12 | |
12 | |
12 | |
12 | |
12 | |
12 | |
12 | |
12 | |
12 |
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
tamBuffer=4 | |
numClientes=2 | |
10 | |
10 | |
numServidores=7 |
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
tamBuffer=4 | |
numClientes=6 | |
7 | |
7 | |
7 | |
7 | |
7 | |
7 | |
numServidores=4 |
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
tamBuffer=4 | |
numClientes=1 | |
8 | |
numServidores=1 |