liguge / 1D-Grad-CAM-for-interpretable-intelligent-fault-diagnosis

智能故障诊断中一维类梯度激活映射可视化展示 1D-Grad-CAM for interpretable intelligent fault diagnosis
91 stars 15 forks source link

question #1

Closed qigemingzenmezhemenan closed 2 years ago

qigemingzenmezhemenan commented 2 years ago

Hello, I want to do 1D grad cam related problems. The code seems to be incomplete. Can you give me a complete code?

liguge commented 2 years ago

The code is actually complete, please refer to the code of 1D-Grad-CAM++ to modify 1D-Grad-CAM slightly. Or please be specific about the specific problem you are having. I will give you specific explanations and answers.

At 2022-06-22 16:25:15, "qigemingzenmezhemenan" @.***> wrote:

Hello, I want to do 1D grad cam related problems. The code seems to be incomplete. Can you give me a complete code?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

qigemingzenmezhemenan commented 2 years ago

Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2.Py,

Model = net1() is undefined. How to solve it.Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2 Py,

Model = net1() is undefined. How to solve it.

liguge commented 2 years ago

This line is to load a model that your own designs. This code is to verify the quality of the model designed by itself, and it cannot be run directly. After loading your own model, you also need to load the pretrained weights. In this case, the code can normally run.

At 2022-06-22 20:37:42, "qigemingzenmezhemenan" @.***> wrote:

Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2.Py,

Model = net1() is undefined. How to solve it.Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2 Py,

Model = net1() is undefined. How to solve it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

liguge commented 2 years ago

net1 refers to the name of the network I designed myself called net1.

在 2022-06-22 18:36:23,"qigemingzenmezhemenan" @.***> 写道:

你好,我是一名初学者,我想问的是, 在Grad-Cam++ 1d v2.py中, model = Net1()未定义,该怎么解决。

拥有比失去更无奈° @.***

 

------------------ 原始邮件 ------------------ 发件人: "liguge/1D-Grad-CAM-for-interpretable-intelligent-fault-diagnosis" @.>; 发送时间: 2022年6月22日(星期三) 下午5:00 @.>; @.**@.>; 主题: Re: [liguge/1D-Grad-CAM-for-interpretable-intelligent-fault-diagnosis] question (Issue #1)

The code is actually complete, please refer to the code of 1D-Grad-CAM++ to modify 1D-Grad-CAM slightly. Or please be specific about the specific problem you are having. I will give you specific explanations and answers.

At 2022-06-22 16:25:15, "qigemingzenmezhemenan" @.***> wrote:

Hello, I want to do 1D grad cam related problems. The code seems to be incomplete. Can you give me a complete code?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

qigemingzenmezhemenan commented 2 years ago

OK, thank you for your answer.

拥有比失去更无奈° @.***

 

------------------ 原始邮件 ------------------ 发件人: "liguge/1D-Grad-CAM-for-interpretable-intelligent-fault-diagnosis" @.>; 发送时间: 2022年6月22日(星期三) 晚上10:10 @.>; @.**@.>; 主题: Re: [liguge/1D-Grad-CAM-for-interpretable-intelligent-fault-diagnosis] question (Issue #1)

This line is to load a model that your own designs. This code is to verify the quality of the model designed by itself, and it cannot be run directly. After loading your own model, you also need to load the pretrained weights. In this case, the code can normally run.

At 2022-06-22 20:37:42, "qigemingzenmezhemenan" @.***> wrote:

Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2.Py,

Model = net1() is undefined. How to solve it.Hello, I am a beginner. What I want to ask is,

In grad cam++ 1D v2 Py,

Model = net1() is undefined. How to solve it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

liguge commented 2 years ago

The code is actually complete, please refer to the code of 1D-Grad-CAM++ to modify 1D-Grad-CAM slightly.

Or please be specific about the specific problem you're having. I will give you specific explanations and answers.

At 2022-06-22 16:25:15, "qigemingzenmezhemenan" @.***> wrote:

Hello, I want to do 1D grad cam related problems. The code seems to be incomplete. Can you give me a complete code?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>