Traceback (most recent call last):


 "paragraph_extraction.py", line 197, in <module>

paragraph_selection(sample, mode)


 "paragraph_extraction.py", line 111, in paragraph_selection

status = dup_remove(doc)


 "paragraph_extraction.py", line 66, in dup_remove

if p_idx < para_id:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Traceback (most recent call last):


 "/net/people/plgapohl/python-albert-pytorch/bin/allentune", line 11, in <module>

load_entry_point('allentune', 'console_scripts', 'allentune')()


 "/net/people/plgapohl/allentune/allentune/commands/__init__.py", line 67, in main

args.func(args)


 "/net/people/plgapohl/allentune/allentune/commands/search.py", line 126, in search_from_args

executor.run(args)


 "/net/people/plgapohl/allentune/allentune/modules/ray_executor.py", line 94, in run

self.run_distributed(run_func, args)


 "/net/people/plgapohl/allentune/allentune/modules/ray_executor.py", line 58, in run_distributed

register_trainable("run", run_func)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/tune/registry.py", line 49, in register_trainable

_global_registry.register(TRAINABLE_CLASS, name, trainable)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/tune/registry.py", line 88, in register

self._to_flush[(category, key)] = pickle.dumps(value)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 881, in dumps

cp.dump(obj)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 268, in dump

return Pickler.dump(self, obj)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 409, in dump

self.save(obj)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 648, in save_global

return self.save_dynamic_class(obj)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 495, in save_dynamic_class

save(clsdict)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)
[26/1833]


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 410, in save_function

self.save_function_tuple(obj)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 553, in save_function_tuple

save(state)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 781, in save_list

self._batch_appends(obj)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 808, in _batch_appends

save(tmp[0])


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 410, in save_function

self.save_function_tuple(obj)


 "/net/people/plgapohl/python-albert-pytorch/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 553, in save_function_tuple

save(state)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 521, in save

self.save_reduce(obj=obj, *rv)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 634, in save_reduce

save(state)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 521, in save

self.save_reduce(obj=obj, *rv)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 634, in save_reduce

save(state)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 781, in save_list

self._batch_appends(obj)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 808, in _batch_appends

save(tmp[0])


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 521, in save

self.save_reduce(obj=obj, *rv)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 634, in save_reduce

save(state)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 476, in save

f(self, obj) # Call unbound method with explicit self


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 821, in save_dict

self._batch_setitems(obj.items())


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 847, in _batch_setitems

save(v)


 "/net/software/local/python/3.6.5/lib/python3.6/pickle.py", line 496, in save

rv = reduce(self.proto)
TypeError: can't pickle _thread.RLock objects
