pmh47 / dirt

DIRT: a fast differentiable renderer for TensorFlow
MIT License
312 stars 63 forks source link

Issues when installing using pip install dirt #85

Closed pranavvaidik closed 3 years ago

pranavvaidik commented 3 years ago

I have tried to install dirt using "pip install .". However, I constantly face the error message as below:

  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xggdcnum
       cwd: /tmp/pip-req-build-mgryrov3/
  Complete output (46 lines):
  running bdist_wheel
  running build
  -- The CXX compiler identification is GNU 7.5.0
  -- The CUDA compiler identification is unknown
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  CMake Error at CMakeLists.txt:3 (project):
    No CMAKE_CUDA_COMPILER could be found.

    Tell CMake where to find the compiler by setting either the environment
    variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
    path to the compiler, or to the compiler name if it is in the PATH.

  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-req-build-mgryrov3/build/CMakeFiles/CMakeOutput.log".
  See also "/tmp/pip-req-build-mgryrov3/build/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-req-build-mgryrov3/setup.py", line 50, in <module>
      'Programming Language :: Python :: 3.7',
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 165, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-req-build-mgryrov3/setup.py", line 24, in run
      build_csrc()
    File "/tmp/pip-req-build-mgryrov3/setup.py", line 18, in build_csrc
      subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
    File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-mgryrov3/csrc']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for dirt
  Running setup.py clean for dirt
Failed to build dirt
Installing collected packages: dirt
    Running setup.py install for dirt ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-aa1o9y8a/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/dirt
         cwd: /tmp/pip-req-build-mgryrov3/
    Complete output (41 lines):
    running install
    running build
    -- The CUDA compiler identification is unknown
    CMake Error at CMakeLists.txt:3 (project):
      No CMAKE_CUDA_COMPILER could be found.

      Tell CMake where to find the compiler by setting either the environment
      variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
      path to the compiler, or to the compiler name if it is in the PATH.

    -- Configuring incomplete, errors occurred!
    See also "/tmp/pip-req-build-mgryrov3/build/CMakeFiles/CMakeOutput.log".
    See also "/tmp/pip-req-build-mgryrov3/build/CMakeFiles/CMakeError.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-mgryrov3/setup.py", line 50, in <module>
        'Programming Language :: Python :: 3.7',
      File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 165, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
        self.run_command('build')
      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-req-build-mgryrov3/setup.py", line 24, in run
        build_csrc()
      File "/tmp/pip-req-build-mgryrov3/setup.py", line 18, in build_csrc
        subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
      File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-mgryrov3/csrc']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-mgryrov3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-aa1o9y8a/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/dirt Check the logs for full command output.

I tried to fix this by looking online, but I am not able to find any working solutions. Can you help?

pmh47 commented 3 years ago

The error says set the environment variable "CUDACXX" to the full path to the [cuda] compiler, so try doing that. In particular CUDACXX=`which nvcc` pip install ., or CUDACXX=/usr/local/cuda/bin/nvcc pip install . or similar if it's not in your path.

pranavvaidik commented 3 years ago

@pmh47 Thank you for your help, but that did not work so well. The error message has just changed a little bit.

ERROR: Command errored out with exit status 1:
   command: /home/pranavvaidik/dl4cv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-eu61qbu6
       cwd: /tmp/pip-req-build-o5qyo1wl/
  Complete output (439 lines):
  running bdist_wheel
  running build
  -- The CXX compiler identification is GNU 7.5.0
  -- The CUDA compiler identification is NVIDIA 10.1.105
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
  -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
  -- Detecting CUDA compiler ABI info
  -- Detecting CUDA compiler ABI info - done
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  found components:  OpenGL EGL
  2020-10-13 02:11:04.014890: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:04.014989: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:04.014998: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
  2020-10-13 02:11:05.458911: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:05.458981: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:05.458990: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
  2020-10-13 02:11:06.914525: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:06.914593: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
  2020-10-13 02:11:06.914598: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /tmp/pip-req-build-o5qyo1wl/build
  Scanning dependencies of target rasterise
  [ 57%] Building CXX object CMakeFiles/rasterise.dir/rasterise_egl.cpp.o
  [ 57%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o
  [ 57%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o
  [ 57%] Building CXX object CMakeFiles/rasterise.dir/rasterise_grad_egl.cpp.o
  In file included from /tmp/pip-req-build-o5qyo1wl/csrc/rasterise_grad_egl.cpp:22:0:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]
   #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"
    ^~~~~~~
  In file included from /tmp/pip-req-build-o5qyo1wl/csrc/rasterise_egl.cpp:24:0:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]
   #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"
    ^~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

  /tmp/pip-req-build-o5qyo1wl/csrc/rasterise_grad_egl.cpp: In lambda function:
  /tmp/pip-req-build-o5qyo1wl/csrc/rasterise_grad_egl.cpp:49:90: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::ReplaceDim(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::DimensionHandle, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
           c->ReplaceDim(c->input(0), 2, c->Dim(c->input(2), 3), &grad_vertex_colours_shape);  // i.e. vertex-colors has same shape as vertices, but with final dimension replaced by channel count
                                                                                            ^
  In file included from /tmp/pip-req-build-o5qyo1wl/csrc/rasterise_grad_egl.cpp:13:0:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/shape_inference.h:418:10: note: declared here
     Status ReplaceDim(ShapeHandle s, int64 dim_index, DimensionHandle new_dim,
            ^~~~~~~~~~
  [ 71%] Building CXX object CMakeFiles/rasterise.dir/shaders.cpp.o
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
            detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1035:25:   required from ‘google::protobuf::Map<Key, T>::const_iterator google::protobuf::Map<Key, T>::begin() const [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/node_def_util.h:174:168:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::NameAttrList_AttrEntry_DoNotUse; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:1824:15:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1035:25:   required from ‘google::protobuf::Map<Key, T>::const_iterator google::protobuf::Map<Key, T>::begin() const [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/node_def_util.h:174:168:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::NameAttrList_AttrEntry_DoNotUse; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:1824:15:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<int*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             } else if (m_->TableEntryIsTree(bucket_index_)) {
                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
           return m_->TableEntryIsList(bucket_index_);
           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed
  make[2]: *** [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
  make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1
  CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
  make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
  Makefile:83: recipe for target 'all' failed
  make: *** [all] Error 2
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 50, in <module>
      'Programming Language :: Python :: 3.7',
    File "/home/pranavvaidik/dl4cv/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 24, in run
      build_csrc()
    File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 20, in build_csrc
      subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path)
    File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for dirt
  Running setup.py clean for dirt
Failed to build dirt
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
Installing collected packages: dirt, setuptools
    Running setup.py install for dirt ... error
    ERROR: Command errored out with exit status 1:
     command: /home/pranavvaidik/dl4cv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-s626ut2o/install-record.txt --single-version-externally-managed --compile --install-headers /home/pranavvaidik/dl4cv/include/site/python3.6/dirt
         cwd: /tmp/pip-req-build-o5qyo1wl/
    Complete output (408 lines):
    running install
    running build
    2020-10-13 02:11:22.031411: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:22.031512: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:22.031532: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
    2020-10-13 02:11:23.471774: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:23.471866: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:23.471875: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
    2020-10-13 02:11:24.908955: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:24.909027: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64{LD_LIBRARY_PATH:+:/usr/local/cuda-10.1/lib64{LD_LIBRARY_PATH:+:}}
    2020-10-13 02:11:24.909035: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/pip-req-build-o5qyo1wl/build
    [ 14%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o
    [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(495): warning: expression has no effect

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=stream_executor::dnn::AlgorithmDesc]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(804): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/types/optional.h(425): warning: expression has no effect
              detected during instantiation of "const T &absl::optional<T>::operator*() const & [with T=size_t]"
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/stream_executor/dnn.h(858): here

    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1035:25:   required from ‘google::protobuf::Map<Key, T>::const_iterator google::protobuf::Map<Key, T>::begin() const [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/node_def_util.h:174:168:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::NameAttrList_AttrEntry_DoNotUse; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:1824:15:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed
    make[2]: *** [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1035:25:   required from ‘google::protobuf::Map<Key, T>::const_iterator google::protobuf::Map<Key, T>::begin() const [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/node_def_util.h:174:168:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, tensorflow::AttrValue>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = tensorflow::AttrValue]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::NameAttrList_AttrEntry_DoNotUse; Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:1824:15:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = tensorflow::AttrValue; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::InnerMap::iterator_base<google::protobuf::Map<unsigned int, tensorflow::FunctionDef_ArgAttrs>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_ArgAttrEntry_DoNotUse; Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)11; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1157:19:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::FunctionDef_RetEntry_DoNotUse; Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/function.pb.h:1202:14:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair; Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<unsigned int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<unsigned int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<unsigned int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = unsigned int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse; Key = unsigned int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)13; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/framework/step_stats.pb.h:2423:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair; Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<int*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<int, std::basic_string<char> >::InnerMap::iterator_base<google::protobuf::Map<int, std::basic_string<char> >::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = int; T = std::basic_string<char>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::JobDef_TasksEntry_DoNotUse; Key = int; T = std::basic_string<char>; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/cluster.pb.h:520:16:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = int; T = std::basic_string<char>; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘void google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::SearchFrom(google::protobuf::Map<Key, T>::size_type) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:399:11:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::iterator_base(const google::protobuf::Map<Key, T>::InnerMap*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:514:28:   required from ‘google::protobuf::Map<Key, T>::InnerMap::iterator google::protobuf::Map<Key, T>::InnerMap::begin() [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1032:27:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::begin() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:27:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:427:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:430:30: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
               } else if (m_->TableEntryIsTree(bucket_index_)) {
                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h: In instantiation of ‘bool google::protobuf::Map<Key, T>::InnerMap::iterator_base<KeyValueType>::revalidate_if_necessary(google::protobuf::Map<Key, T>::InnerMap::TreeIterator*) [with KeyValueType = google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair; Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::TreeIterator = std::_Rb_tree_const_iterator<std::basic_string<char>*>]’:
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:608:12:   required from ‘void google::protobuf::Map<Key, T>::InnerMap::erase(google::protobuf::Map<Key, T>::InnerMap::iterator) [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::InnerMap::iterator = google::protobuf::Map<std::basic_string<char>, int>::InnerMap::iterator_base<google::protobuf::Map<std::basic_string<char>, int>::KeyValuePair>]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1134:1:   required from ‘google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1139:14:   required from ‘void google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator, google::protobuf::Map<Key, T>::iterator) [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:1142:21:   required from ‘void google::protobuf::Map<Key, T>::clear() [with Key = std::basic_string<char>; T = int]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map_field_inl.h:186:1:   required from ‘void google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::Clear() [with Derived = tensorflow::ConfigProto_DeviceCountEntry_DoNotUse; Key = std::basic_string<char>; T = int; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = (google::protobuf::internal::WireFormatLite::FieldType)9; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = (google::protobuf::internal::WireFormatLite::FieldType)5; int default_enum_value = 0]’
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:5156:23:   required from here
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:488:29: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsNonEmptyList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             if (m_->TableEntryIsNonEmptyList(bucket_index_)) {
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/map.h:502:24: error: cannot call member function ‘bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsList(google::protobuf::Map<Key, T>::size_type) const [with Key = std::basic_string<char>; T = int; google::protobuf::Map<Key, T>::size_type = long unsigned int]’ without object
             return m_->TableEntryIsList(bucket_index_);
             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
    make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
    make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 50, in <module>
        'Programming Language :: Python :: 3.7',
      File "/home/pranavvaidik/dl4cv/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/home/pranavvaidik/dl4cv/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
        self.run_command('build')
      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 24, in run
        build_csrc()
      File "/tmp/pip-req-build-o5qyo1wl/setup.py", line 20, in build_csrc
        subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path)
      File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/pranavvaidik/dl4cv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-o5qyo1wl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-s626ut2o/install-record.txt --single-version-externally-managed --compile --install-headers /home/pranavvaidik/dl4cv/include/site/python3.6/dirt Check the logs for full command output.

Most of the errors still talk about the "libnvinfer.so.6" file. I tried to look into it, with no fixes. Is there anything else I could try? Is there any way I could use the package without the GPU/CUDA support, as most problems seem to stem from CUDA ?

pmh47 commented 3 years ago

DIRT relies on cuda+opengl for fast rendering; there's no CPU-only version.

The error about libnvinfer is something related to your LD_LIBRARY_PATH being broken, stopping tensorflow loading cuda; it's not DIRT-specific.

The error that generates almost all the output there is due to a bug in a particular version of nvcc (>10.1, <10.1.243). Update your CUDA to 10.1.243. If you can't do that, there's a workaround here: https://github.com/tensorflow/tensorflow/issues/26155#issuecomment-476705051 (see the changes to protobuf/map.h in the 2nd half of that comment)

pranavvaidik commented 3 years ago

@pmh47 Thanks a lot! Upgrading to CUDA 10.1.243 really helped. Thanks a lot for taking the time to help me. I really appreciate it!!

huangfaan commented 3 years ago

The error says set the environment variable "CUDACXX" to the full path to the [cuda] compiler, so try doing that. In particular CUDACXX=`which nvcc` pip install ., or CUDACXX=/usr/local/cuda/bin/nvcc pip install . or similar if it's not in your path.

hello, sorry I am a rookie, so I don't understand it, could you tell me a detail about this, please?

huangfaan commented 3 years ago

CUDA 10.1.243

hello, I have encountered the same problem, could you tell me how to resolve it? my CUDA version is 10.1.243