You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,author.Thank you for your codes. I also encounter the following errors. These errors were also encountered by other according to the message here. So, How can I solve the errors? Look forward your reply.
File "", line 1, in
runfile('F:/Code/3/Tf_version/train.py', wdir='F:/Code/3/Tf_version')
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "F:/Code/3/Tf_version/train.py", line 31, in
model.train(n_epochs=N_EPOCHS)
File "F:\Code\3\Tf_version\model.py", line 651, in train
t_step = self.train_one_epoch(sess, iterator_init_list, writer, t_step, caller, seed)
File "F:\Code\3\Tf_version\model.py", line 436, in train_one_epoch
sess.run(init, feed_dict={self.global_seed: seed})
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
InvalidArgumentError: buffer_size must be greater than zero.
[[node acdc_data_2/ShuffleDataset (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:177) ]]
[[node acdc_data_2/seed2_1 (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:156) ]]
Caused by op 'acdc_data_2/ShuffleDataset', defined at:
File "D:\anacondaanzhuang\envs\tensorflow\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\anacondaanzhuang\envs\tensorflow\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\console_main.py", line 11, in
start.main()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\console\start.py", line 318, in main
kernel.start()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelapp.py", line 612, in start
self.io_loop.start()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\platform\asyncio.py", line 199, in start
self.asyncio_loop.run_forever()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\base_events.py", line 442, in run_forever
self._run_once()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\base_events.py", line 1462, in _run_once
handle._run()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\events.py", line 145, in _run
self._callback(*self._args)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\ioloop.py", line 688, in
lambda f: self._run_callback(functools.partial(callback, future))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\ioloop.py", line 741, in _run_callback
ret = callback()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 814, in inner
self.ctx_run(self.run)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 775, in run
yielded = self.gen.send(value)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 365, in process_one
yield gen.maybe_future(dispatch(*args))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 268, in dispatch_shell
yield gen.maybe_future(handler(stream, idents, msg))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 545, in execute_request
user_expressions, allow_stdin,
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\ipkernel.py", line 306, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\zmqshell.py", line 536, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2698, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2808, in run_ast_nodes
if self.run_code(code, result):
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('F:/Code/3/Tf_version/train.py', wdir='F:/Code/3/Tf_version')
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "F:/Code/3/Tf_version/train.py", line 29, in
model.build()
File "F:\Code\3\Tf_version\model.py", line 129, in build
self.get_data()
File "F:\Code\3\Tf_version\model.py", line 153, in get_data
super(Model, self).get_acdc_unsup_data(data_path=self.acdc_data_path, repeat=True, seed=self.global_seed)
File "F:\Code\3\Tf_version\data_interface\dataset_wrapper.py", line 110, in get_acdc_unsup_data
seed=seed
File "F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py", line 177, in get_data
train_init = iterator.make_initializer(train_data) # initializer for train_data
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 360, in make_initializer
dataset._as_variant_tensor(), self._iterator_resource, name=name) # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2502, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\experimental\ops\batching.py", line 375, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\experimental\ops\batching.py", line 544, in _as_variant_tensor
return self._input_dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2740, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2335, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2438, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2778, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor()
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2778, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor()
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2443, in _as_variant_tensor
**flat_structure(self))
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\ops\gen_dataset_ops.py", line 4502, in shuffle_dataset
name=name)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): buffer_size must be greater than zero.
[[node acdc_data_2/ShuffleDataset (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:177) ]]
[[node acdc_data_2/seed2_1 (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:156) ]]
The text was updated successfully, but these errors were encountered:
Hello,author.Thank you for your codes. I also encounter the following errors. These errors were also encountered by other according to the message here. So, How can I solve the errors? Look forward your reply.
EPOCH 1 - SDNet :
Progress: [=> Traceback (most recent call last):
File "", line 1, in
runfile('F:/Code/3/Tf_version/train.py', wdir='F:/Code/3/Tf_version')
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "F:/Code/3/Tf_version/train.py", line 31, in
model.train(n_epochs=N_EPOCHS)
File "F:\Code\3\Tf_version\model.py", line 651, in train
t_step = self.train_one_epoch(sess, iterator_init_list, writer, t_step, caller, seed)
File "F:\Code\3\Tf_version\model.py", line 436, in train_one_epoch
sess.run(init, feed_dict={self.global_seed: seed})
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
InvalidArgumentError: buffer_size must be greater than zero.
[[node acdc_data_2/ShuffleDataset (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:177) ]]
[[node acdc_data_2/seed2_1 (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:156) ]]
Caused by op 'acdc_data_2/ShuffleDataset', defined at:
File "D:\anacondaanzhuang\envs\tensorflow\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\anacondaanzhuang\envs\tensorflow\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\console_main.py", line 11, in
start.main()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\console\start.py", line 318, in main
kernel.start()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelapp.py", line 612, in start
self.io_loop.start()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\platform\asyncio.py", line 199, in start
self.asyncio_loop.run_forever()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\base_events.py", line 442, in run_forever
self._run_once()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\base_events.py", line 1462, in _run_once
handle._run()
File "D:\anacondaanzhuang\envs\tensorflow\lib\asyncio\events.py", line 145, in _run
self._callback(*self._args)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\ioloop.py", line 688, in
lambda f: self._run_callback(functools.partial(callback, future))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\ioloop.py", line 741, in _run_callback
ret = callback()
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 814, in inner
self.ctx_run(self.run)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 775, in run
yielded = self.gen.send(value)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 365, in process_one
yield gen.maybe_future(dispatch(*args))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 268, in dispatch_shell
yield gen.maybe_future(handler(stream, idents, msg))
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\kernelbase.py", line 545, in execute_request
user_expressions, allow_stdin,
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\tornado\gen.py", line 162, in _fake_ctx_run
return f(*args, **kw)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\ipkernel.py", line 306, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\ipykernel\zmqshell.py", line 536, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2698, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2808, in run_ast_nodes
if self.run_code(code, result):
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('F:/Code/3/Tf_version/train.py', wdir='F:/Code/3/Tf_version')
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "D:\anacondaanzhuang\envs\tensorflow\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "F:/Code/3/Tf_version/train.py", line 29, in
model.build()
File "F:\Code\3\Tf_version\model.py", line 129, in build
self.get_data()
File "F:\Code\3\Tf_version\model.py", line 153, in get_data
super(Model, self).get_acdc_unsup_data(data_path=self.acdc_data_path, repeat=True, seed=self.global_seed)
File "F:\Code\3\Tf_version\data_interface\dataset_wrapper.py", line 110, in get_acdc_unsup_data
seed=seed
File "F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py", line 177, in get_data
train_init = iterator.make_initializer(train_data) # initializer for train_data
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\iterator_ops.py", line 360, in make_initializer
dataset._as_variant_tensor(), self._iterator_resource, name=name) # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2502, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\experimental\ops\batching.py", line 375, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\experimental\ops\batching.py", line 544, in _as_variant_tensor
return self._input_dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2740, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2335, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2438, in _as_variant_tensor
self._input_dataset._as_variant_tensor(), # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2778, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor()
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2778, in _as_variant_tensor
input_t = self._input_dataset._as_variant_tensor()
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1630, in _as_variant_tensor
return self._dataset._as_variant_tensor() # pylint: disable=protected-access
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 2443, in _as_variant_tensor
**flat_structure(self))
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\ops\gen_dataset_ops.py", line 4502, in shuffle_dataset
name=name)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "C:\Users\B424\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): buffer_size must be greater than zero.
[[node acdc_data_2/ShuffleDataset (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:177) ]]
[[node acdc_data_2/seed2_1 (defined at F:\Code\3\Tf_version\data_interface\interfaces\acdc_unsup_interface.py:156) ]]
The text was updated successfully, but these errors were encountered: