Giter VIP home page Giter VIP logo

tfpred's Introduction

TFPred: Learning Discriminative Representations from Unlabeled Data for Few-Label Rotating Machinery Fault Diagnosis

An official implementation of paper: TFPred: Learning Discriminative Representations from Unlabeled Data for Few-Label Rotating Machinery Fault Diagnosis. The pre-trained feature encoders are also provided in the folder './History', feel free to use them in your program.

@article{CHEN2024105900,
title = {TFPred: Learning discriminative representations from unlabeled data for few-label rotating machinery fault diagnosis},
journal = {Control Engineering Practice},
volume = {146},
pages = {105900},
year = {2024},
issn = {0967-0661},
author = {Xiaohan Chen and Rui Yang and Yihao Xue and Baoye Song and Zidong Wang}
}

1. Requirements

  • python 3.9.12
  • numpy 1.23.1
  • torch 1.13.1
  • torchvision 0.14.1
  • torchaudio 0.13.1
  • tqdm 4.64.0
  • scipy 1.8.1

2. Dataset:

Run-to-failure bearing fault dataset:

Lessmeier, C., Kimotho, J. K., Zimmer, D., & Sextro, W. (2016). Condition monitoring of bearing damage in electromechanical drive systems by using motor current signals of electric motors: A benchmark data set for data-driven classification. Vol. 3, In PHM Society European Conference.

3. Usage:

Please replace the datadir with your dataset path.

python TFPred.py \
    --datadir "dataset path"
    --mode "train_then_tune" \
    --load 3 \
    --num_train 210 \
    --num_validation 30 \
    --num_test 60 \
    --num_labels 3 \
    --data_length 1024 \
    --window 512 \
    --max_epochs 500 \
    --batch_size 256 \
    --lr 1e-2 \
    --normalization '0-1' \
    --tune_max_epochs 100 \
    --backbone_lr 5e-3 \
    --classifier_lr 5e-3 \

4. Experiments

4.1 Augmentation visualizations

4.2 Results on run-to-failure bearing dataset

4.3Feature visualizations

tfpred's People

Contributors

xiaohan-chen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tfpred's Issues

您好,能不能上传一下对比的算法,比如Meanteacher,SimCLR这些?

我是一个少标签样本故障诊断方向的初学者,读了您的文章,觉得写的很好,编程也很厉害,想向您学习。只是我刚入门,编程水平一般,还没办法复现那么多代码来做对比实验。如果方便的话能不能把您做对比实验的这些方法也分享一下?如果不方便的话也没关系,非常感谢您的分享,使我在学习的路上少走了一些弯路。

对比实验咨询

作者您好!感谢您分享本文工作与算法,对我的工作有很大的启发。在您的代码库我没找到对比方法的代码,比如SimCLR、MoCo、BYOL、SimSiam等。我想试一下对比实验的方法,但网上的相关代码质量参差不齐,且用于信号数据的代码很少,所以冒昧问一下您可不可以再公开一下本文的对比方法的代码。

结果问题

请问作者,这里的实验结果并非像论文中所给的
b36514258a540c3eab8cf09d5c58087
论文中所给的上下误差不超过2%,但是我尝试了,发现结果上下浮动很大,可能超过10%

about prediction head Q(·)

您好,我想请问为什么频域的特征还需要经过一个prediction head Q(·),怎么确保经过prediction head Q(·)的特征和zt还具有相关性。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.