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
# -------------------------------------------------------- | |
# Fast R-CNN | |
# Copyright (c) 2015 Microsoft | |
# Licensed under The MIT License [see LICENSE for details] | |
# Written by Ross Girshick | |
# -------------------------------------------------------- | |
import os | |
import errno | |
from datasets.imdb import imdb |
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
import sys | |
caffe_root = '/home/user/libs/caffe' | |
# We need to define how many digits our CAPTCHAs can have at maximum. | |
# For simplicity we only have CAPTCHAs of fixed length 6 in this version! | |
maxNumberOfDigits = 6 | |
model = 'data_iter_25000.caffemodel' |