vladbidyuk / Radar

Real time licence plate recognition system
34 stars 15 forks source link

TabError: inconsistent use of tabs and spaces in indentation #1

Open 12345k opened 6 years ago

12345k commented 6 years ago

Python indentation error in Line 103 in Basic.py file

E:\code\number plate\Radar-master\Radar-master\pythonEdition>python Main.py -v "video_1.mp4" C:\Users\ArvindK\Anaconda3\lib\site-packages\h5py__init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters curses is not supported on this machine (please install/reinstall curses for an optimal experience) WARNING:tensorflow:From C:\Users\ArvindK\Anaconda3\lib\site-packages\tflearn\initializations.py:119: UniformUnitScaling.init__ (from tensorflow.python.ops.init_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior. 2018-09-22 16:29:20.491206: I C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 Traceback (most recent call last): File "Main.py", line 2, in from Modules.Basic import * File "E:\code\number plate\Radar-master\Radar-master\pythonEdition\Modules\Basic.py", line 103 if (aspect_ratio >= aspect_ratio_range[0] and aspect_ratio <= aspect_ratio_range[1]): ^ TabError: inconsistent use of tabs and spaces in indentation

babrubhan commented 5 years ago

This is a simple python format error. You have to adjust it with proper tabs and spaces. OR you can use any online tool too to do the same.

Python indentation error in Line 103 in Basic.py file

E:\code\number plate\Radar-master\Radar-master\pythonEdition>python Main.py -v "video_1.mp4" C:\Users\ArvindK\Anaconda3\lib\site-packages\h5pyinit.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters curses is not supported on this machine (please install/reinstall curses for an optimal experience) WARNING:tensorflow:From C:\Users\ArvindK\Anaconda3\lib\site-packages\tflearn\initializations.py:119: UniformUnitScaling.init (from tensorflow.python.ops.init_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior. 2018-09-22 16:29:20.491206: I C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 Traceback (most recent call last): File "Main.py", line 2, in from Modules.Basic import * File "E:\code\number plate\Radar-master\Radar-master\pythonEdition\Modules\Basic.py", line 103 if (aspect_ratio >= aspect_ratio_range[0] and aspect_ratio <= aspect_ratio_range[1]): ^ TabError: inconsistent use of tabs and spaces in indentation