hajungong007

Results 4 issues of hajungong007

hi,have you C++ code?

调用pytorch2paddle函数在pd_model_trace文件夹中找不到转换后的模型 代码如下: ``` import torch import numpy as np from torchvision.models import AlexNet from torch.hub import load_state_dict_from_url input_data = np.random.rand(1, 3, 224, 224).astype("float32") torch_module = AlexNet() torch_state_dict = load_state_dict_from_url('https://download.pytorch.org/models/alexnet-owt-4df8aa71.pth') torch_module.load_state_dict(torch_state_dict)...

# adjust scale self.adjust = nn.Parameter(0.1 * torch.ones(1)) self.bias = nn.Parameter(torch.Tensor(1.0 * torch.ones(1, 4, 1, 1))) def forward(self, search, kernel, update=None): # encode first if update is None: cls_z, cls_x...

解决了