MCPcopy
hub / github.com/davidsandberg/facenet / vbbWeights

Function vbbWeights

tmp/vggface16.py:15–18  ·  view source on GitHub ↗
(layerNumber)

Source from the content-addressed store, hash-verified

13
14 # A function to get the weights of the VGG layers
15 def vbbWeights(layerNumber):
16 W = vgg16Layers[0][layerNumber][0][0][2][0][0]
17 W = tf.constant(W)
18 return W
19
20 def vbbConstants(layerNumber):
21 b = vgg16Layers[0][layerNumber][0][0][2][0][1].T

Callers 1

loadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected