Code Monkey home page Code Monkey logo

lam's Introduction

LAM

Figure1

Created by Yuchong Li

Paper Link: https://link.springer.com/article/10.1007/s11548-024-03147-6

This repository contains PyTorch implementation for LAM.

We introduce a model LAM to recognize surgical action triplets in the CholecT50 Dataset.

Our code is based on Q2L and AIM.

The dataset and evaluation metrics are here.

Results

CholecTriplet2021 data split

Model mAP_I mAP_V mAP_T mAP_IV mAP_IT mAP_IVT
LAM_Lite 0.8479 0.5526 0.4416 0.3782 0.3991 0.3756
LAM_Base 0.8651 0.5571 0.4632 0.3979 0.4323 0.4050
LAM_Large 0.8673 0.5605 0.4890 0.3907 0.4404 0.4209

Cross-Val data split

Model mAP_I mAP_V mAP_T mAP_IV mAP_IT mAP_IVT
LAM_Lite 0.932±0.014 0.701±0.018 0.472±0.021 0.464±0.041 0.443±0.008 0.369±0.022
LAM_Base 0.936±0.013 0.708±0.012 0.502±0.029 0.477±0.049 0.464±0.005 0.392±0.020
LAM_Large 0.946±0.013 0.724±0.025 0.515±0.040 0.490±0.044 0.483±0.008 0.406±0.022

Pretrained models

The LAM-Lite model used the ResNet-18 as the backbone pre-trained on ImageNet-1K. The LAM-Mega model used the ViT-B/16 and ViT-L/14 based on CLIP

Model weights

Only includes the results of the CholecTriplet2021 data split (due to limited space on Google Drive) https://drive.google.com/drive/folders/1dhzawhrsf_t3pjAebj98cdSgtwdZiMWZ?usp=drive_link

Full model weights and predictions(CholecTriplet2021 and 5-fold cross-validation) https://www.alipan.com/s/VAStNYFt7mJ

Key Files

LAM-Lite model: https://github.com/Lycus99/LAM/blob/main/lib/models/time_transformer_aim.py#L162

build LAM-Lite model: https://github.com/Lycus99/LAM/blob/main/lib/models/time_transformer_aim.py#L333

LAM-Mega model: https://github.com/Lycus99/LAM/blob/main/lib/models/time_transformer_aim.py#L285

build LAM-Mega model: https://github.com/Lycus99/LAM/blob/main/lib/models/time_transformer_aim.py#L341

After training the two models separately, we got the output prediction and then averaged them.

lam's People

Contributors

lycus99 avatar

Stargazers

 avatar ZhaoR avatar

Watchers

 avatar

lam's Issues

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.