-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
34 lines (29 loc) · 878 Bytes
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--[[
Fast-RCNN class. Has train, test and detect functions.
]]
require 'paths'
require 'torch'
require 'xlua'
require 'optim'
require 'nn'
require 'nngraph'
require 'string'
require 'image'
require 'cutorch'
require 'cunn'
require 'cudnn'
require 'inn'
fastrcnn = {}
require 'fastrcnn.modules' -- bbox modules for train/test
require 'fastrcnn.BatchROISampler' -- data loader/generator
require 'fastrcnn.ImageDetector' -- single image detector/tester
require 'fastrcnn.Tester' -- dataset tester
require 'fastrcnn.Options' -- Fast-RCNN options parser
require 'fastrcnn.ROIProcessor'
require 'fastrcnn.Transform'
-- load setup/options functions
fastrcnn.train = require 'fastrcnn.train'
fastrcnn.test = require 'fastrcnn.test'
fastrcnn.utils = require 'fastrcnn.utils'
fastrcnn.visualize_detections = require 'fastrcnn.visualize'
return fastrcnn