Dat Q Duong
Dat Q Duong
In calculating accuracy of test dataset: https://github.com/floodsung/LearningToCompare_FSL/blob/master/omniglot/omniglot_train_one_shot.py#L237 ``` sample_images,sample_labels = sample_dataloader.__iter__().next() test_images,test_labels = test_dataloader.__iter__().next() sample_features = feature_encoder(Variable(sample_images).cuda(GPU)) # 5x64 test_features = feature_encoder(Variable(test_images).cuda(GPU)) # 20x64 sample_features_ext = sample_features.unsqueeze(0).repeat(SAMPLE_NUM_PER_CLASS*CLASS_NUM,1,1,1,1) test_features_ext = test_features.unsqueeze(0).repeat(SAMPLE_NUM_PER_CLASS*CLASS_NUM,1,1,1,1)...
### Question The instructions for installation show that any BLAS work, but when I actually do it, it require that the system must have MKL installed. How can we use...
in the file `examples/mnist/mnist-cnn.py` ``` kernel1 = model.layers[0].weights[0].numpy() kernel1 = np.moveaxis(kernel1, [2,3], [0,1]) kernel1 = kernel1.astype(np.float16) gguf_writer.add_tensor("kernel1", kernel1, raw_shape=(32, 1, 3, 3)) ... kernel2 = model.layers[2].weights[0].numpy() kernel2 = np.moveaxis(kernel2, [0,1,2,3],...
The training data has this sample: ``` [{'query': "1990's speculative fiction novels about the military that are not scifi?", 'docs': ['48 (novel)', 'The Roundheads', 'Just War (novel)', ``` However, the...