Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PeizeSun/SparseR-CNN
/ setup
Function
setup
tools/visualize_data.py:17–23 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
15
16
17
def
setup(args):
18
cfg = get_cfg()
19
if
args.config_file:
20
cfg.merge_from_file(args.config_file)
21
cfg.merge_from_list(args.opts)
22
cfg.freeze()
23
return
cfg
24
25
26
def
parse_args(in_args=None):
Callers
1
visualize_data.py
File · 0.70
Calls
3
get_cfg
Function · 0.90
merge_from_file
Method · 0.80
freeze
Method · 0.45
Tested by
no test coverage detected