Traceback (most recent call last):


 ".\pdseg\tools\labelme2seg.py", line 94, in <module>

main(args)


 ".\pdseg\tools\labelme2seg.py", line 81, in main

if lbl.min() >= 0 and lbl.max() <= 255:
AttributeError: 'tuple' object has no attribute 'min'
Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\api.py", line 118, in connect

client = ImpalaClient(con, hdfs_client=hdfs_client)


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 791, in __init__

self._ensure_temp_db_exists()


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 1394, in _ensure_temp_db_exists

if not self.exists_database(name):


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 909, in exists_database

return bool(self.list_databases(like=name))


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 1004, in list_databases

with self._execute(statement, results=True) as cur:


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\client.py", line 122, in _execute

cur = self.con.execute(query)


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 102, in execute

cursor = self._get_cursor()


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 134, in _get_cursor

return self._new_cursor()


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\ibis\impala\client.py", line 147, in _new_cursor

con = impyla.connect(database=self.database, **params)


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\impala\dbapi.py", line 147, in connect

auth_mechanism=auth_mechanism)


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\impala\hiveserver2.py", line 764, in connect

transport.open()


 "C:\ProgramData\Anaconda3\envs\hadoop3.6\lib\site-packages\thrift_sasl\__init__.py", line 67, in open

if not self._trans.isOpen():
AttributeError: 'TSocket' object has no attribute 'isOpen'
