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
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\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('G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py', wdir='G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master')
File "G:\Program Files\JetBrains\PyCharm 2020.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "G:\Program Files\JetBrains\PyCharm 2020.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py", line 169, in
main()
File "G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py", line 72, in main
model = KgRnnCVAE(sess, config, api, log_dir=None if FLAGS.forward_only else log_dir, forward=False, scope=scope)
File "G:\Users\lwx\PycharmProjects\untitl2\NeuralDialog-CVAE-master\NeuralDialog-CVAE-master\models\cvae.py", line 257, in init
activation_fn=tf.tanh, scope="fc1")
File "D:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\framework\python\ops\arg_scope.py", line 181, in func_with_args
return func(*args, **current_args)
File "D:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\layers\python\layers\layers.py", line 1638, in fully_connected
'num_outputs should be int or long, got %s.' % (num_outputs,))
ValueError: num_outputs should be int or long, got 400.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\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('G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py', wdir='G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master')
File "G:\Program Files\JetBrains\PyCharm 2020.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "G:\Program Files\JetBrains\PyCharm 2020.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py", line 169, in
main()
File "G:/Users/lwx/PycharmProjects/untitl2/NeuralDialog-CVAE-master/NeuralDialog-CVAE-master/kgcvae_swda.py", line 72, in main
model = KgRnnCVAE(sess, config, api, log_dir=None if FLAGS.forward_only else log_dir, forward=False, scope=scope)
File "G:\Users\lwx\PycharmProjects\untitl2\NeuralDialog-CVAE-master\NeuralDialog-CVAE-master\models\cvae.py", line 257, in init
activation_fn=tf.tanh, scope="fc1")
File "D:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\framework\python\ops\arg_scope.py", line 181, in func_with_args
return func(*args, **current_args)
File "D:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\layers\python\layers\layers.py", line 1638, in fully_connected
'num_outputs should be int or long, got %s.' % (num_outputs,))
ValueError: num_outputs should be int or long, got 400.
The text was updated successfully, but these errors were encountered: