Traceback (most recent call last):


 "/Users/PycharmProjects/paddle_test/PytorchToCaffe/example/vgg19_pytorch_to_caffe.py", line 14, in <module>

pytorch_to_caffe.trans_net(net, input, name)


 "/Users/PycharmProjects/paddle_test/PytorchToCaffe/pytorch_to_caffe.py", line 786, in trans_net

out = net.forward(input_var)


 "/Users/.pyenv/versions/env/lib/python3.7/site-packages/torchvision/models/vgg.py", line 49, in forward

x = self.features(x)


 "/Users/.pyenv/versions/env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl

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


 "/Users/.pyenv/versions/env/lib/python3.7/site-packages/torch/nn/modules/container.py", line 119, in forward

input = module(input)


 "/Users//.pyenv/versions/env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl

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


 "/Users/.pyenv/versions/env/lib/python3.7/site-packages/torch/nn/modules/batchnorm.py", line 113, in forward

self.num_batches_tracked = self.num_batches_tracked + 1
# type: ignore


 "/Users/PycharmProjects/paddle_test/PytorchToCaffe/pytorch_to_caffe.py", line 532, in _add

bottom=[log.blobs(input),log.blobs(args[0])], top=top_blobs)


 "/Users/PycharmProjects/paddle_test/PytorchToCaffe/Caffe/layer_param.py", line 33, in __init__

self.bottom.extend(bottom)
TypeError: None has type NoneType, but expected one of: bytes, unicode
Traceback (most recent call last):


 "/root/42315.py", line 998, in <module>

exploit(target, pipe_name)


 "/root/42315.py", line 834, in exploit

if not info['method'](conn, pipe_name, info):


 "/root/42315.py", line 489, in exploit_matched_pairs

info.update(leak_frag_size(conn, tid, fid))


 "/root/42315.py", line 333, in leak_frag_size

req1 = conn.create_nt_trans_packet(5, param=pack('<HH', fid, 0), mid=mid, data='A'*0x10d0, maxParameterCount=GROOM_TRANS_SIZE-0x10d0-TRANS_NAME_LEN)


 "/root/mysmb.py", line 349, in create_nt_trans_packet

_put_trans_data(transCmd, param, data, noPad)


 "/root/mysmb.py", line 73, in _put_trans_data

transData = ('\x00' * padLen) + parameters
TypeError: can only concatenate str (not "bytes") to str
