Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PeizeSun/SparseR-CNN
/ f
Function
f
tools/benchmark.py:109–112 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
dummy_data = list(itertools.islice(data_loader, 100))
108
109
def
f():
110
data = DatasetFromList(dummy_data, copy=False)
111
while
True:
112
yield
from
data
113
114
max_iter = 400
115
trainer = SimpleTrainer(model, f(), optimizer)
Callers
4
benchmark.py
File · 0.85
benchmark_eval
Function · 0.85
get
Method · 0.85
test_scriptability
Method · 0.85
Calls
1
DatasetFromList
Class · 0.90
Tested by
1
test_scriptability
Method · 0.68