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

issue when run #17

Open
mohyM opened this issue Jul 8, 2020 · 1 comment
Open

issue when run #17

mohyM opened this issue Jul 8, 2020 · 1 comment

Comments

@mohyM
Copy link

mohyM commented Jul 8, 2020

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

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

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