Yangbin Wei
Yangbin Wei
错误代码如下 ``` user config: env classifier vis_port 8097 model SqueezeNet train_data_root ./data/train test_data_root ./data/test1 load_model_path None batch_size 32 use_gpu True num_workers 4 print_freq 20 debug_file /tmp/debug result_file result.csv max_epoch 10...
Annotation wrong answer
代码是否多余?
``` def train_step(self, batch_sents, batch_tags, word2id, tag2id): self.model.train() self.step += 1 # 准备数据 tensorized_sents, lengths = tensorized(batch_sents, word2id) tensorized_sents = tensorized_sents.to(self.device) targets, lengths = tensorized(batch_tags, tag2id) targets = targets.to(self.device) #...
add "M" tags # Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required...
I use my own data ``` [-INFO-] 2020-08-18 17:03:03,229 31422 train. line:80 epoch 22, step 880, loss -102.3357 , accuracy 0.8097 [-INFO-] 2020-08-18 17:03:08,052 31422 train. line:80 epoch 23, step...
Hello, what model is used in the second step to extract features, can you provide some information
``` import pydot from keras.utils.vis_utils import plot_model model_vqa = get_VQA_model(VQA_model_file_name, VQA_weights_file_name) plot_model(model_vqa, to_file='images/model_vqa.png') ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in () 2 from keras.utils.vis_utils import plot_model 3 ---->...
``` Traceback (most recent call last): File "/Users/weiyangbin/Chinese-VQA/extract_fc7.py", line 101, in main() File "/Users/weiyangbin/Chinese-VQA/extract_fc7.py", line 34, in main graph_def.ParseFromString(vgg16raw) google.protobuf.message.DecodeError: Error parsing message ``` 您好,我下载了**vgg16_weights.npz** 文件,放在了‘Data/Data/vgg16-Data/vgg16-2016Data/vgg16-2016129.Data/vgg16-2016129.tfData/vgg16-2016129.tfmodel.torretorrent/’下 但是但我运行 **extract_fc.py**文件时却发生以上错误。 且源代码29行 ```...