Traceback (most recent call last):


 "train.py", line 19, in <module>

from lib.net import Net, load_layer, caffe_test


 "/home/t-jinche/channel-pruning/lib/net.py", line 7, in <module>

import caffe


 "/home/t-jinche/channel-pruning/caffe/python/caffe/__init__.py", line 4, in <module>

from .proto.caffe_pb2 import TRAIN, TEST


 "/home/t-jinche/channel-pruning/caffe/python/caffe/proto/caffe_pb2.py", line 799, in <module>

options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\020\001')),


 "/usr/local/lib/python3.4/dist-packages/google/protobuf/descriptor.py", line 874, in _ParseOptions

message.ParseFromString(string)


 "/usr/local/lib/python3.4/dist-packages/google/protobuf/message.py", line 185, in ParseFromString

self.MergeFromString(serialized)


 "/usr/local/lib/python3.4/dist-packages/google/protobuf/internal/python_message.py", line 1075, in MergeFromString

raise message_mod.DecodeError('Truncated message.')
google.protobuf.message.DecodeError: Truncated message.

  | Traceback (most recent call last):
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
  | cursor, statement, parameters, context
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 588, in do_execute
  | cursor.execute(statement, parameters)
  | sqlite3.OperationalError: no such table: event_logs
  |  
  | The above exception was the direct cause of the following exception:
  |  
  | Traceback (most recent call last):
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/sql.py", line 53, in handle_schema_errors
  | yield
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sqlite/sqlite_event_log.py", line 108, in connect
  | yield conn
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sql_event_log.py", line 82, in get_logs_for_run
  | results = conn.execute(query).fetchall()
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 982, in execute
  | return meth(self, multiparams, params)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 293, in _execute_on_connection
  | return connection._execute_clauseelement(self, multiparams, params)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1101, in _execute_clauseelement
  | distilled_params,
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1250, in _execute_context
  | e, statement, parameters, cursor, context
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1476, in _handle_dbapi_exception
  | util.raise_from_cause(sqlalchemy_exception, exc_info)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
  | reraise(type(exception), exception, tb=exc_tb, cause=cause)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
  | raise value.with_traceback(tb)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
  | cursor, statement, parameters, context
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 588, in do_execute
  | cursor.execute(statement, parameters)
  | sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: event_logs
  | [SQL: SELECT event_logs.event
  | FROM event_logs
  | WHERE event_logs.run_id = ? AND event_logs.id >= ? ORDER BY event_logs.id ASC]
  | [parameters: ('c127bf51-753b-48af-9638-cff6029d11ee', -1)]
  | (Background on this error at: http://sqlalche.me/e/e3q8)
  |  
  | The above exception was the direct cause of the following exception:
  |  
  | Traceback (most recent call last):
  | 
 "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  | self.run()
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/watchdog/observers/api.py", line 196, in run
  | self.dispatch_events(self.event_queue, self.timeout)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/watchdog/observers/api.py", line 369, in dispatch_events
  | handler.dispatch(event)
  | 
 "/workdir/python_modules/dagstermill/.tox/py36/lib/python3.6/site-packages/watchdog/events.py", line 462, in dispatch
  | _method_map[event_type](event)
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sqlite/sqlite_event_log.py", line 156, in on_created
  | self._process_log()
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sqlite/sqlite_event_log.py", line 146, in _process_log
  | events = self._event_log_storage.get_logs_for_run(self._run_id, self._cursor)
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sql_event_log.py", line 82, in get_logs_for_run
  | results = conn.execute(query).fetchall()
  | 
 "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
  | self.gen.throw(type, value, traceback)
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/event_log/sqlite/sqlite_event_log.py", line 108, in connect
  | yield conn
  | 
 "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
  | self.gen.throw(type, value, traceback)
  | 
 "/workdir/python_modules/dagster/dagster/core/storage/sql.py", line 70, in handle_schema_errors
  | exc,
  | 
 "<string>", line 3, in raise_from
  | dagster.core.errors.DagsterInstanceMigrationRequired: Instance is out of date and must be migrated (SqliteEventLogStorage for run c127bf51-753b-48af-9638-cff6029d11ee). Database is at revision None, head is 567bc23fd1ac. Please run `dagster instance migrate`.

