Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tensorflow 将tensorboard计算图导出为Panda数据帧_Tensorflow_Keras_Tensorboard - Fatal编程技术网

Tensorflow 将tensorboard计算图导出为Panda数据帧

Tensorflow 将tensorboard计算图导出为Panda数据帧,tensorflow,keras,tensorboard,Tensorflow,Keras,Tensorboard,需要从Tensorbaord导出CNN计算图作为熊猫数据帧。 我已经看过了,只记录了培训信息(因为在培训过程中定义了回调函数)。 有没有办法在日志中记录网络架构和权重,然后将其提取为熊猫数据帧 上次我尝试使用您提到的源代码执行此操作时,结果不太理想。我发现我不能使用教程中使用的ExperimentFromDev(现在不太确定)。相反,我使用提问的方法手动读取TB日志文件。第二个答案可能是你的解决方案 ea = event_accumulator.EventAccumulator('events.

需要从Tensorbaord导出CNN计算图作为熊猫数据帧。 我已经看过了,只记录了培训信息(因为在培训过程中定义了回调函数)。
有没有办法在日志中记录网络架构和权重,然后将其提取为熊猫数据帧

上次我尝试使用您提到的源代码执行此操作时,结果不太理想。我发现我不能使用教程中使用的ExperimentFromDev(现在不太确定)。相反,我使用提问的方法手动读取TB日志文件。第二个答案可能是你的解决方案

ea = event_accumulator.EventAccumulator('events.out.tfevents.x.ip-x-x-x-x',
  size_guidance={ # see below regarding this argument
      event_accumulator.COMPRESSED_HISTOGRAMS: 500,
      event_accumulator.IMAGES: 4,
      event_accumulator.AUDIO: 4,
      event_accumulator.SCALARS: 0,
      event_accumulator.HISTOGRAMS: 1,
})
pd.DataFrame(ea.Scalars('Loss)).to_csv('Loss.csv')

上次我试着用你提到的资料做这件事时,它没有;不太顺利。我发现我无法以某种方式使用ExperimentFromDev(现在不太确定)。我改为手动读取TB日志文件