-
I would like to know how I can use this template as in the example below
`
class DCNNBERTEmbedding(tf.keras.Model):
def __init__(self,
nb_filters=50,
…
-
### 🐛 Describe the bug
JIT tracing a quantized model that has forward_pre_hooks throws the following error:
`RuntimeError: Couldn't find method: 'forward' on class: '__torch__.torch.ao.nn.intri…
-
**my model is:**
model = Sequential()
model.add(BatchNormalization(input_shape=(1408,1)))
model.add(Conv1D(3, kernel_size=(100),strides=2))
model.add(Activation("relu"))
model.add(MaxPooling1D(po…
-
- TensorBoard version 1.10.0
- TensorFlow version 1.10.0
- OS Platform and version Windows 10 64bit and CentOS 6.9
- Python version 2.7 and 3.6
- For browser-related issues: n/a
When using…
str4w updated
4 years ago
-
我使用grad cam做语义分割的可解释性,我训练好的模型也是单通道训练的,我是用gradcam的时候也是单通道,会报下面这个错误,请问我该怎么修改呢
---------------------------------------------------------------------------
AssertionError Tr…
-
Hi, I want to apply the GuidedGradCam with ResNet50:
`model = models.resnet50(pretrained=True)`
`model.eval()`
` input = torch.rand(2, 3, 224, 224)`
` ig = GuidedGradCam(model, model.layer4)`
` a…
-
`FluxJS.compile()` doesn't seem to work when Convolution layers are involved:
```
>>> using Flux
>>> using FluxJS
>>> m = Chain(
Conv((2,2), 1=>16, relu),
x -> maxpool(x, (2,…
-
### bug描述 Describe the Bug
我们使用相同的代码在paddle和pytorch框架中得到的结果不一样
这是paddle版本的代码:
```
import paddle
import paddle.nn as nn
import numpy as np
import os
import paddle.nn.functional as F
clas…
-
![QQ图片20240714011506](https://github.com/user-attachments/assets/19c84688-8322-4893-823b-d8daecfe847b)
(calm) (base) penghuan@ubuntu:~/code/SimSGT/regression$ sh script/pretrain_GEOM.sh
add args
…
-
I use a simple NN model and gradient_descent_mse_ensemble to train the kernel as follows:
init_fn, apply_fn, kernel_fn = stax.serial(
stax.Dense(512), stax.Relu(),
stax.Dense(512), stax.Relu…