Traceback (most recent call last):


 "test.py", line 171, in <module>

lfw_test(model, img_paths, identity_list, opt.lfw_test_list, opt.test_batch_size)


 "test.py", line 141, in lfw_test

features, cnt = get_featurs(model, img_paths, batch_size=batch_size)


 "test.py", line 65, in get_featurs

output = model(data)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 138, in forward

return self.module(*inputs, **kwargs)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/Users/zhangjiatao/Documents/MyProject/PingAn/arcface-pytorch/models/resnet.py", line 220, in forward

x = self.fc5(x)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/modules/linear.py", line 67, in forward

return F.linear(input, self.weight, self.bias)


 "/Users/zhangjiatao/anaconda3/envs/new_python/lib/python3.6/site-packages/torch/nn/functional.py", line 1352, in linear

ret = torch.addmm(torch.jit._unwrap_optional(bias), input, weight.t())
RuntimeError: size mismatch, m1: [16 x 131072], m2: [32768 x 512] at /Users/administrator/nightlies/pytorch-1.0.0/wheel_build_dirs/conda_3.6/conda/conda-bld/pytorch_1544137972173/work/aten/src/TH/generic/THTensorMath.cpp:940

Traceback (most recent call last):

 "/usr/local/lib/python2.7/threading.py", line 551, in **bootstrap_inner
self.run()

 "/usr/local/lib/python2.7/threading.py", line 504, in run
self.__target(_self.__args, *_self.__kwargs)

 "/usr/crawl/code/cola-code/cola/core/mq/__init**.py", line 103, in _init_process
self.put(objs, flush=flush)

 "/usr/crawl/code/cola-code/cola/core/mq/node.py", line 407, in put
self._remote_or_local_batch_put(addr, self.caches[addr])

 "/usr/crawl/code/cola-code/cola/core/mq/node.py", line 348, in _remote_or_local_batch_put
self.mq_node.batch_put(objs)

 "/usr/crawl/code/cola-code/cola/core/mq/node.py", line 151, in batch_put
self.put(obs, force=force, priority=priority)

 "/usr/crawl/code/cola-code/cola/core/mq/node.py", line 125, in put
priority_store.put(objs, force=force)

 "/usr/crawl/code/cola-code/cola/core/mq/store.py", line 291, in put
result = self.put_one(obj, force, commit=False)

 "/usr/crawl/code/cola-code/cola/core/mq/store.py", line 266, in put_one
pos = self._seek_writable_pos(m)

 "/usr/crawl/code/cola-code/cola/core/mq/store.py", line 228, in _seek_writable_pos
size, = struct.unpack('I', map_handle[pos:pos+4])TypeError: 'NoneType' object has no attribute '__getitem__'