Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
12345k opened this issue Sep 22, 2018 · 1 comment
Open

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

12345k opened this issue Sep 22, 2018 · 1 comment

Comments

@12345k
Copy link

12345k commented Sep 22, 2018

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
Copy link

babrubhan commented Sep 8, 2019

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\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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants