ZefengHan
ZefengHan
I want to try to save the model data, but always occurs the error 'ValueError: GraphDef cannot be larger than 2GB'
how to change the procedure into 3-classifier? I want to change the procedure into a 3-classifier,which is about aspect based sentiment anysize. Thank you!
关于测试文件的编写还是存在疑问,根据您给的博客链接我只会把checkpoint加载进来,后面的传参还是不太会,該传进那些参数不是很清楚,根据博客链接里面,没看见测试集如何加载进来的,希望您能够给予解答。 import tensorflow as tf import numpy as np graph = tf.Graph() with graph.as_default(): session_conf = tf.ConfigProto(allow_soft_placement=True, log_device_placement=False) session_conf.gpu_options.allow_growth=True session_conf.gpu_options.per_process_gpu_memory_fraction = 0.9 # 配置gpu占用率 sess = tf.Session(config=session_conf) with sess.as_default(): checkpoint_file...
how to save the models?