Giter Club home page Giter Club logo

fitnet's Introduction

FIT-Net

This repository is the official implementation of FIT-Net: Feature Interaction Transformer Network for Pathologic Myopia Diagnosis. FIT-Net
If you use the codes and models from this repo, please cite our work. Thanks!

@ARTICLE{10087215,
  author={Chen, Shaobin and Wu, Zhenquan and Li, Mingzhu and Zhu, Yun and Xie, Hai and Yang, Peng and Zhao, Cheng and Zhang, Yongtao and Zhang, Shaochong and Zhao, Xinyu and Wang, Tianfu and Lu, Lin and Zhang, Guoming and Lei, Baiying},
  journal={IEEE Transactions on Medical Imaging}, 
  title={FIT-Net: Feature Interaction Transformer Network for Pathologic Myopia Diagnosis}, 
  year={2023},
  volume={},
  number={},
  pages={1-1},
  doi={10.1109/TMI.2023.3260990}}    

Data Preparation

Divide the data into k-folds for cross-validation.
If k-fold cross-validation is used during training, you can use create_excelFile_for_k_fold_dataset.py to split the data into k-folds.
Before using this script, make sure that your image data is stored in different folders by category, as shown below:
dataFolder

excelFileSavePath = r'xxx\xxx.xlsx'  
imgRootPath = r'xxx\imgPath'  
kFold = 10  
mainObj = get_k_fold_Data(excelFileSavePath=excelFileSavePath, imgRootPath=imgRootPath, kFold=kFold, num_class=4)  
mainObj.getKFoldData()  

After that, the name of the picture and the corresponding label will be stored in the excel file:
data_excel_format

fitnet's People

Stargazers

 avatar

Watchers

 avatar  avatar

fitnet's Issues

FITNet for Class Project

Hello @chenshaobin

Thank you for sharing your code for the FITNet! I'm working on applying this network to a different dataset for a class project, and was wondering if you have any documentation that will explain your code.

Your documentation on data preparation in the README file was extremely helpful, and I was successfully able to split my data for k-fold validation. Any other documentation similar to this explaining the rest of the repo would be extremely helpful.

Thank you so much!

Jefferson Bercaw
BME PhD Student
Duke University

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.