Skip to content

Instantly share code, notes, and snippets.

@rahulkrishnan98
Created June 21, 2018 07:37
Show Gist options
  • Select an option

  • Save rahulkrishnan98/270c31a96f940b7a0ed4b4825a6ebb68 to your computer and use it in GitHub Desktop.

Select an option

Save rahulkrishnan98/270c31a96f940b7a0ed4b4825a6ebb68 to your computer and use it in GitHub Desktop.
Parsing ./cfg/tiny-yolo-voc.cfg
Parsing cfg/tiny-yolo-voc-1c.cfg
Loading bin/tiny-yolo-voc.weights ...
Successfully identified 63471556 bytes
Finished in 0.010008573532104492s
Building net ...
Source | Train? | Layer description | Output size
-------+--------+----------------------------------+---------------
| | input | (?, 416, 416, 3)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 416, 416, 16)
Load | Yep! | maxp 2x2p0_2 | (?, 208, 208, 16)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 208, 208, 32)
Load | Yep! | maxp 2x2p0_2 | (?, 104, 104, 32)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 104, 104, 64)
Load | Yep! | maxp 2x2p0_2 | (?, 52, 52, 64)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 52, 52, 128)
Load | Yep! | maxp 2x2p0_2 | (?, 26, 26, 128)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 26, 26, 256)
Load | Yep! | maxp 2x2p0_2 | (?, 13, 13, 256)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 13, 13, 512)
Load | Yep! | maxp 2x2p0_1 | (?, 13, 13, 512)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 13, 13, 1024)
Load | Yep! | conv 3x3p1_1 +bnorm leaky | (?, 13, 13, 1024)
Init | Yep! | conv 1x1p0_1 linear | (?, 13, 13, 30)
-------+--------+----------------------------------+---------------
Running entirely on CPU
cfg/tiny-yolo-voc-1c.cfg loss hyper-parameters:
H = 13
W = 13
box = 5
classes = 1
scales = [1.0, 5.0, 1.0, 1.0]
Building cfg/tiny-yolo-voc-1c.cfg loss
Building cfg/tiny-yolo-voc-1c.cfg train op
2018-06-21 09:53:53.177213: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Finished in 5.303142070770264s
Enter training ...
cfg/tiny-yolo-voc-1c.cfg parsing newmodel/annotations
Parsing for ['autorick']
Traceback (most recent call last):
File "./flow", line 6, in <module>
cliHandler(sys.argv)
File "C:\Users\143\Desktop\final\darkflow-master\darkflow\cli.py", line 33, in cliHandler
print('Enter training ...'); tfnet.train()
File "C:\Users\143\Desktop\final\darkflow-master\darkflow\net\flow.py", line 39, in train
for i, (x_batch, datum) in enumerate(batches):
File "C:\Users\143\Desktop\final\darkflow-master\darkflow\net\yolo\data.py", line 97, in shuffle
data = self.parse()
File "C:\Users\143\Desktop\final\darkflow-master\darkflow\net\yolo\data.py", line 18, in parse
dumps = pascal_voc_clean_xml(ann, meta['labels'], exclusive)
File "C:\Users\143\Desktop\final\darkflow-master\darkflow\utils\pascal_voc_clean_xml.py", line 22, in pascal_voc_clean_xml
annotations = glob.glob(str(annotations)+'*.xml')
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\glob.py", line 20, in glob
return list(iglob(pathname, recursive=recursive))
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\glob.py", line 54, in _iglob
yield from glob1(dirname, basename)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\glob.py", line 90, in glob1
return fnmatch.filter(names, pattern)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\fnmatch.py", line 52, in filter
match = _compile_pattern(pat)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\fnmatch.py", line 46, in _compile_pattern
return re.compile(res).match
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\re.py", line 224, in compile
return _compile(pattern, flags)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\re.py", line 293, in _compile
p = sre_compile.compile(pattern, flags)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\sre_compile.py", line 536, in compile
p = sre_parse.parse(p, flags)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\sre_parse.py", line 829, in parse
p = _parse_sub(source, pattern, 0)
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\sre_parse.py", line 437, in _parse_sub
itemsappend(_parse(source, state, nested + 1))
File "C:\Users\143\Miniconda3\envs\tensorflow\lib\sre_parse.py", line 575, in _parse
raise source.error(msg, len(this) + 1 + len(that))
sre_constants.error: bad character range 8-1 at position 437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment