Yaohong

为了真相不惜被羞辱

Tensorflow 保存和加载model

Tensorflow 保存和加载model

保存model的代码:

import tensorflow as tf
save_model_path 	= "/save_model" # 保存的文件夹路径
network.save(save_model_path);

保存的目录格式如下,期中saved_model.pb是主要的文件:

save_model
	-- assets
	-- variables
		-- variables.data-00000-of-00001
		-- variables.index
	-- saved_model.pb

加载model如下:


Some notes on Convolution Course

Some notes on Convolution course

What is padding?

Padding is to add some pixels to the border of the original image, such as a 6*6 image will become a 8*8 image if we add a pixel to its border.

valid convolution vs same convolution.

Valid convolution is on padding that means the actual pixels of the output image after we convole original image with filter.

Same convolution means adding padding so that the output image has the same size as its input image.


Terms in machine learning

Terms in machine learning

FLOPS

  • FLOPS=Floating point operation per seconds

  • FLOPs=Floating point operations

REFERNECD: what-is-flops-in-field-of-deep-learning