aqeelanwar / SocialDistancingAI

Using Python to monitor social distancing
MIT License
105 stars 71 forks source link

issue when run #17

Open mohyM opened 4 years ago

mohyM commented 4 years ago

/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) Traceback (most recent call last): File "main.py", line 4, in from network_model import model File "/Users/userName/Downloads/master/test_distance/SocialDistancingAI-dependabot-pip-tensorflow-1.15.2/network_model.py", line 5, in import backbone File "/Users/userName/Downloads/master/test_distance/SocialDistancingAI-dependabot-pip-tensorflow-1.15.2/backbone.py", line 6, in import tensorflow as tf File "/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/init.py", line 35, in from tensorflow._api.v1 import compat File "/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/_api/v1/compat/init.py", line 22, in from tensorflow._api.v1.compat import v2 File "/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorflow/_api/v1/compat/v2/init.py", line 303, in from tensorboard.summary._tf import summary File "/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorboard/summary/init.py", line 25, in from tensorboard.summary import v1 File "/Users/userName/opt/anaconda3/lib/python3.7/site-packages/tensorboard/summary/v1.py", line 46, in pr_curve_pb = _pr_curve_summary.pb AttributeError: module 'tensorboard.plugins.pr_curve.summary' has no attribute 'pb'

Ash-intosh commented 4 years ago

I faced the same difficulty some days ago. Try using tensorflow 1.13.2. Hope this will work for you.