sonfire186
sonfire186
I am embedding with `resnet_v1_50/E_BN2/Identity:0` I count the distance ``` dot = np.sum(np.multiply(em1, em2), axis=1) norm = np.linalg.norm(em1, axis=1) * np.linalg.norm(em2, axis=1) similarity = dot / norm ``` But get...
I do not understand how to get face embedding. Maybe there is an example?
I need to train the network only in two classes from PASLAC VOC. Background and personal. `train.py` `_NUM_CLASSES = 2` `preprocessing.py` ``` label_colours = [(0, 0, 0), # 0=background (192,...
``` from tensorflow.keras import backend as K from tensorflow.keras.models import model_from_json import tensorflow as tf import keras2onnx sess = tf.Session() K.set_session(sess) K.set_learning_phase(0) json_file = open('ex_model.json', 'r') loaded_model_json = json_file.read() json_file.close()...
`The Conv2D op currently only supports the NHWC tensor format on the CPU. The op was given the format: NCHW` How to make a convert?
I have many vector.pbf how can I convert them to one big vector.pbf? Or how to convert all vector.pbf to GeoJSON?
docker image nvidia ``` -- The CXX compiler identification is GNU 7.4.0 -- The CUDA compiler identification is NVIDIA 10.0.130 -- Check for working CXX compiler: /usr/bin/c++ -- Check for...
I see different examples in README.md and archs.py ``` x = Dense(args.num_features, kernel_initializer='he_normal', kernel_regularizer=regularizers.l2(weight_decay))(x) x = BatchNormalization()(x) output = ArcFace(10, regularizer=regularizers.l2(weight_decay))([x, y]) ``` ``` x = Dense(512, kernel_initializer='he_normal')(x) x =...
How do I train a model for tokenization? Text --> Token
go update