cydonia999 / Tiny_Faces_in_Tensorflow

A Tensorflow Tiny Face Detector, implementing "Finding Tiny Faces"

Home Page:https://arxiv.org/abs/1612.04402

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pl.frange no longer usable

jere357 opened this issue · comments

hey, i tried to run the cloned code and it wouldnt work bcs pls.frange no longer exists as a function in pylab, i replaced the 2 occurences with np.arange and everything seemed to work ok

Traceback (most recent call last):
File "tiny_face_eval.py", line 227, in
main()
File "tiny_face_eval.py", line 224, in main
lw=args.line_width, display=args.display)
File "tiny_face_eval.py", line 121, in evaluate
scales = _calc_scales()
File "tiny_face_eval.py", line 115, in _calc_scales
scales_down = pl.frange(min_scale, 0, 1.)
AttributeError: module 'pylab' has no attribute 'frange'