 60%|########################################################################################################4
|3018/5000[46:27<25:53, 1.28it/s]Traceback (most recent call last):


 "src/TGAN_synthesizer.py", line 313, in <module>

sample(args.sample, Model(), args.load, output_filename=args.output)


 "src/TGAN_synthesizer.py", line 234, in sample

session_init=get_model_loader(model_path),


 "/home/harry/Documents/GANs-demo/TGAN-master/py36_env/lib/python3.6/site-packages/tensorpack/tfutils/sessinit.py", line 262, in get_model_loader

return SaverRestore(filename)


 "/home/harry/Documents/GANs-demo/TGAN-master/py36_env/lib/python3.6/site-packages/tensorpack/tfutils/sessinit.py", line 107, in __init__

model_path = get_checkpoint_path(model_path)


 "/home/harry/Documents/GANs-demo/TGAN-master/py36_env/lib/python3.6/site-packages/tensorpack/tfutils/varmanip.py", line 182, in get_checkpoint_path

assert tf.gfile.Exists(model_path) or tf.gfile.Exists(model_path + '.index'), model_path
AssertionError: train_log/TGAN_synthesizer:KDD2-2/model-0


Traceback (most recent call last):


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/procpool/worker.py", line 75, in worker

res = await meth(*args)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 1915, in compile_in_tx

return self._compile(ctx=ctx, source=source)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 1442, in _compile

return self._try_compile(ctx=ctx, source=source)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 1496, in _try_compile

comp, capabilities = self._compile_dispatch_ql(ctx, stmt)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 1389, in _compile_dispatch_ql

query = self._compile_ql_migration(ctx, ql)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 1100, in _compile_ql_migration

ddl_query = self._compile_and_apply_ddl_stmt(


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 784, in _compile_and_apply_ddl_stmt

block, new_types = self._process_delta(ctx, delta)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/server/compiler/compiler.py", line 419, in _process_delta

schema = delta.apply(schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/delta.py", line 3978, in apply

schema = sd.DeltaRoot.apply(self, schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 1254, in apply

schema = objop.apply(schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/delta.py", line 188, in apply

schema = self.__class__.get_adaptee().apply(self, schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 2588, in apply

schema = self._create_innards(schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 2557, in _create_innards

schema = op.apply(schema, context=context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/delta.py", line 1957, in apply

schema = s_objtypes.AlterObjectType.apply(


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 3067, in apply

schema = self._alter_innards(schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 3030, in _alter_innards

schema = op.apply(schema, context=context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/delta.py", line 2576, in apply

schema = s_links.AlterLink.apply(self, schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 3067, in apply

schema = self._alter_innards(schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/schema/delta.py", line 3030, in _alter_innards

schema = op.apply(schema, context=context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/delta.py", line 1100, in apply

bconstr = schemac_to_backendc(subject, constraint, schema, context)


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/schemamech.py", line 311, in schema_constraint_to_backend_constraint

exprdata = cls._edgeql_ref_to_pg_constr(


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/schemamech.py", line 141, in _edgeql_ref_to_pg_constr

sql_tree = compiler.compile_ir_to_sql_tree(


 "/usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha8-dev5305/lib/python3.8/site-packages/edb/pgsql/compiler/__init__.py", line 93, in compile_ir_to_sql_tree

raise errors.InternalServerError(*args) from e

edb.errors.InternalServerError: 'PointerRef' object has no attribute 'is_scalar'
