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

Installation on the cluster #2

Closed
FarzanehRah opened this issue Sep 30, 2021 · 7 comments
Closed

Installation on the cluster #2

FarzanehRah opened this issue Sep 30, 2021 · 7 comments

Comments

@FarzanehRah
Copy link

FarzanehRah commented Sep 30, 2021

Hi,

I'm trying to install the python package using a Python 3 environment on the cluster. Since I wasn't able to install tensorflow-io-nightly , I changed it to tensorflow-io in the requirements.txt file. When I run pytest to test the installation, there are some errors:

ERROR bear_model/tests/test_core.py - ValueError: numpy.ndarray size changed, may indicate binary incompati...
ERROR bear_model/tests/test_dataloader.py - ValueError: numpy.ndarray size changed, may indicate binary inc...
ERROR bear_model/tests/test_run.py
ERROR bear_model/tests/test_summarize.py

How can I solve it?
Thank you in advance

@AlanNawzadAmin
Copy link
Collaborator

AlanNawzadAmin commented Sep 30, 2021

Installing tensorflow io version 0.16.0 or later should fix the problem. If not, could I ask what version of python, tensorflow, and tensorflow-io you are using? Could I also ask why you can't tensorflow-io-nightly?

@FarzanehRah
Copy link
Author

FarzanehRah commented Oct 1, 2021

Thank you Alan for your reply.
I'm using:

python==3.8.10 
tensorflow==2.4.1
tensorflow-io==0.17.0

when I'm trying to install tensorflow-io-nightly:

pip install tensorflow-io-nightly
> ERROR: Could not find a version that satisfies the requirement tensorflow-io-nightly (from versions: none)
> ERROR: No matching distribution found for tensorflow-io-nightly

if I download the file and try to install it:

pip install tensorflow_io_nightly-0.21.0.dev20210918024028-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

> ERROR: tensorflow_io_nightly-0.21.0.dev20210918024028-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl is not a supported wheel on this platform.

Thank you.

@AlanNawzadAmin
Copy link
Collaborator

AlanNawzadAmin commented Oct 1, 2021

I can't replicate your errors. The later error seems to be from installing the package for the wrong version of python but that doesn't seem to be the case for you. Could you try updating your pip and also make sure that your pip is linked to the correct version of python if there are multiple installations on your system? For example, try python3.8 -m pip install tensorflow-io-nightly.

Could you also print the entire pytest error?

@FarzanehRah
Copy link
Author

I upgraded the pip then tried:

python3.8 -m pip install tensorflow-io-nightly
same error:

ERROR: Could not find a version that satisfies the requirement tensorflow-io-nightly (from versions: none)
ERROR: No matching distribution found for tensorflow-io-nightly

@AlanNawzadAmin
Copy link
Collaborator

Could you upgrade pip using python3.8 -m pip install –upgrade pip? Otherwise I'm not sure why pip cannot find tensorflow-io-nightly. But the tensorflow-io version you have should also work I believe. Could you print the entire pytest error, running python3.8 -m pytest?

@FarzanehRah
Copy link
Author

python3.8 -m pip install --upgrade pip

> Requirement already satisfied: pip in ./.local/lib/python3.8/site-packages (21.2.4)

python3.8 -m pytest ./BEAR/
Now I have 3 errors:

platform linux -- Python 3.8.10, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /home/far/BEAR
collected 2 items / 3 errors                                                               

========================================== ERRORS ==========================================
______________________ ERROR collecting bear_model/tests/test_core.py ______________________
BEAR/bear_model/tests/test_core.py:1: in <module>
    from bear_model import core
.local/lib/python3.8/site-packages/bear_model/core.py:1: in <module>
    import tensorflow.compat.v2 as tf
.local/lib/python3.8/site-packages/tensorflow/__init__.py:41: in <module>
    from tensorflow.python.tools import module_util as _module_util
.local/lib/python3.8/site-packages/tensorflow/python/__init__.py:48: in <module>
    from tensorflow.python import keras
.local/lib/python3.8/site-packages/tensorflow/python/keras/__init__.py:27: in <module>
    from tensorflow.python.keras import models
.local/lib/python3.8/site-packages/tensorflow/python/keras/models.py:26: in <module>
    from tensorflow.python.keras.engine import functional
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py:38: in <module>
    from tensorflow.python.keras.engine import training as training_lib
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:52: in <module>
    from tensorflow.python.keras.engine import data_adapter
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/data_adapter.py:65: in <module>
    import pandas as pd  # pylint: disable=g-import-not-at-top
.local/lib/python3.8/site-packages/pandas/__init__.py:29: in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
.local/lib/python3.8/site-packages/pandas/_libs/__init__.py:13: in <module>
    from pandas._libs.interval import Interval
pandas/_libs/interval.pyx:1: in init pandas._libs.interval
    ???
E   ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
------------------------------------- Captured stderr --------------------------------------
2021-10-01 09:50:24.571895: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
___________________ ERROR collecting bear_model/tests/test_dataloader.py ___________________
BEAR/bear_model/tests/test_dataloader.py:1: in <module>
    from bear_model import dataloader
.local/lib/python3.8/site-packages/bear_model/dataloader.py:1: in <module>
    from . import core
.local/lib/python3.8/site-packages/bear_model/core.py:1: in <module>
    import tensorflow.compat.v2 as tf
.local/lib/python3.8/site-packages/tensorflow/__init__.py:41: in <module>
    from tensorflow.python.tools import module_util as _module_util
.local/lib/python3.8/site-packages/tensorflow/python/__init__.py:48: in <module>
    from tensorflow.python import keras
.local/lib/python3.8/site-packages/tensorflow/python/keras/__init__.py:27: in <module>
    from tensorflow.python.keras import models
.local/lib/python3.8/site-packages/tensorflow/python/keras/models.py:26: in <module>
    from tensorflow.python.keras.engine import functional
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py:38: in <module>
    from tensorflow.python.keras.engine import training as training_lib
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:52: in <module>
    from tensorflow.python.keras.engine import data_adapter
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/data_adapter.py:57: in <module>
    keras_data_adapter_gauge = monitoring.BoolGauge(
.local/lib/python3.8/site-packages/tensorflow/python/eager/monitoring.py:350: in __init__
    super(BoolGauge, self).__init__('BoolGauge', _bool_gauge_methods,
.local/lib/python3.8/site-packages/tensorflow/python/eager/monitoring.py:126: in __init__
    self._metric = self._metric_methods[self._label_length].create(*args)
E   tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists.
------------------------------------- Captured stderr --------------------------------------
2021-10-01 09:50:26.396149: E tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/api/keras/data_adapters
______________________ ERROR collecting bear_model/tests/test_run.py _______________________
BEAR/bear_model/tests/test_run.py:3: in <module>
    from bear_model.models import train_bear_net
.local/lib/python3.8/site-packages/bear_model/models/train_bear_net.py:12: in <module>
    import tensorflow.compat.v2 as tf
.local/lib/python3.8/site-packages/tensorflow/__init__.py:41: in <module>
    from tensorflow.python.tools import module_util as _module_util
.local/lib/python3.8/site-packages/tensorflow/python/__init__.py:48: in <module>
    from tensorflow.python import keras
.local/lib/python3.8/site-packages/tensorflow/python/keras/__init__.py:27: in <module>
    from tensorflow.python.keras import models
.local/lib/python3.8/site-packages/tensorflow/python/keras/models.py:26: in <module>
    from tensorflow.python.keras.engine import functional
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py:38: in <module>
    from tensorflow.python.keras.engine import training as training_lib
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:52: in <module>
    from tensorflow.python.keras.engine import data_adapter
.local/lib/python3.8/site-packages/tensorflow/python/keras/engine/data_adapter.py:65: in <module>
    import pandas as pd  # pylint: disable=g-import-not-at-top
.local/lib/python3.8/site-packages/pandas/__init__.py:29: in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
.local/lib/python3.8/site-packages/pandas/_libs/__init__.py:13: in <module>
    from pandas._libs.interval import Interval
pandas/_libs/interval.pyx:1: in init pandas._libs.interval
    ???
E   ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
------------------------------------- Captured stderr --------------------------------------
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
===================================== warnings summary =====================================
.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:18
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:18: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    DESCRIPTOR = _descriptor.FileDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:36
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:36: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:43
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:43: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:29
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:29: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _TENSORSHAPEPROTO_DIM = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:73
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:73: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:80
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:80: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:66
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py:66: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _TENSORSHAPEPROTO = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:19
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:19: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    DESCRIPTOR = _descriptor.FileDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:33
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:33: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:37
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:37: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:41
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:41: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:45
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:45: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:49
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:49: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:53
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:53: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:57
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:57: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:61
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:61: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:65
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:65: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:69
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:69: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:73
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:73: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:77
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:77: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:81
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:81: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:85
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:85: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:89
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:89: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:93
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:93: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:97
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:97: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:101
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:101: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:105
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:105: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:109
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:109: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:113
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:113: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:117
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:117: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:121
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:121: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:125
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:125: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:129
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:129: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:133
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:133: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:137
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:137: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:141
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:141: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:145
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:145: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:149
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:149: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:153
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:153: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:157
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:157: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:161
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:161: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:165
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:165: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:169
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:169: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:173
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:173: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:177
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:177: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:181
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:181: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:185
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:185: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:189
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:189: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:193
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:193: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:197
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:197: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:201
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:201: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:205
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:205: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:209
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:209: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:213
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:213: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:217
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:217: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:27
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:27: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _DATATYPE = _descriptor.EnumDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:236
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:236: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:240
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:240: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.EnumValueDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:230
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/types_pb2.py:230: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _SPECIALIZEDTYPE = _descriptor.EnumDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:20
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:20: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    DESCRIPTOR = _descriptor.FileDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:39
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:39: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:46
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:46: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:32
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:32: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _RESOURCEHANDLEPROTO_DTYPEANDSHAPE = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:76
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:76: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:83
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:83: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:90
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:90: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:97
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:97: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:104
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:104: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:111
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:111: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:69
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py:69: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _RESOURCEHANDLEPROTO = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:21
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:21: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    DESCRIPTOR = _descriptor.FileDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:40
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:40: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:47
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:47: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:54
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:54: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:61
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:61: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:68
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:68: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:75
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:75: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:82
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:82: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:89
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:89: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:96
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:96: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:103
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:103: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:110
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:110: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:117
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:117: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:124
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:124: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:131
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:131: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:138
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:138: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:145
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:145: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:152
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:152: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:33
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:33: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _TENSORPROTO = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:183
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:183: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:190
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:190: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:197
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:197: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:176
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py:176: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _VARIANTTENSORDATAPROTO = _descriptor.Descriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:21
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:21: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    DESCRIPTOR = _descriptor.FileDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:40
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:40: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:47
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:47: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:54
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:54: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:61
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:61: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:68
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:68: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:75
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py:75: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _descriptor.FieldDescriptor(

.local/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:22
  /home/farfar/.local/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================================= short test summary info ==================================
ERROR BEAR/bear_model/tests/test_core.py - ValueError: numpy.ndarray size changed, may in...
ERROR BEAR/bear_model/tests/test_dataloader.py - tensorflow.python.framework.errors_impl....
ERROR BEAR/bear_model/tests/test_run.py - ValueError: numpy.ndarray size changed, may ind...
!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!
============================= `101` warnings, 3 errors in 3.02s ==============================

Thanks for your time!

@AlanNawzadAmin
Copy link
Collaborator

AlanNawzadAmin commented Oct 1, 2021

It seems there is an issue with your installation of numpy and tensorflow. Googling the errors, I found this and this which may be helpful. It may also help to try to reinstall BEAR with a fresh virtual environment.

However, I cannot replicate your errors with a standard install of python3.8 on a Linux OS. As the error appears to be from simply importing dependencies, possibly with your python or pip installation, I'm going to close this issue.

I should have asked about your OS, but BEAR is not compatible with windows at this time.

@FarzanehRah FarzanehRah changed the title Installation on the server Installation on the cluster Oct 20, 2021
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