-
I’m afraid that hls4ml is not properly flattening the tensor between a conv1d layer and an LSTM layer.
For the network generated from the following Keras code:
import tensorflow as tf
from tens…
svs11 updated
3 months ago
-
Hello! When I try to instantiate the trained model this way:
```
atType = ['self-attention', 'self_relation-attention'][0]
model = networks.resnet18_at(at_type=atType)
model.load_sta…
-
I get the following error while running test.py. I am using the vgg16-397923af.pth as a pretrained model. Any help on this will be appreciated. I have already looked into the related issues, but none …
-
I add the lines:
```
def eca_resnet50(k_size=[3, 3, 3, 3], num_classes=1000, pretrained=True):
"""Constructs a ResNet-50 model.
Args:
k_size: Adaptive selection of kernel size
…
-
hello doctor.I TRAIN tdn with new data with pretrain model,but it easily go converge,in the first epoch,does something wrong?besides,when i train,it notice below,it is ok?
[12/08 15:20:34] TDN INFO: …
-
My Python version: 3.8.12 / 3.8.13
My Pytorch version: 1.8.2 / 1.10.1
Run the following code:
```
from torchvision import models
from thop.profile import profile
import torch
net = models.r…
-
Hi,
The training worked well.
But, when I run infer.py, I get the following errors:
RuntimeError: Error(s) in loading state_dict for OftNet:
Missing key(s) in state_dict: "mean", "std", "fron…
-
Please, can you advice what I might be doing wrong?
I am trying to run the eval script, I changed the path to the saved weigths but I am getting this:
RuntimeError: Error(s) in loading state_dict …
-
`File "train.py", line 266, in
main()
File "train.py", line 151, in main
args.reload_path, map_location=torch.device('cpu')))
File "C:\Users\shafi\AppData\Local\Programs\Python\Python…
-
### 分支
main 分支 (mmpretrain 版本)
### 描述该错误
Hello,I have some questions about model loading weights, I have downloaded the pre-trained model of MMPretrain locally in advance, but when I use torch.load…