Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Walkier/NETE

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Not End-to-End: Explore Multi-Stage Architecture for Online Surgical Phase Recognition

Enviroment

Pytorch == 1.1.0, torchvision == 0.3.0, python == 3.6 CUDA=10.0

Reproduce our results

Download the dataset and the pretrained models at https://pan.baidu.com/s/1I9WrHH0KKeebsRWtGK4fdA to reproduce our results.

python main.py --action=base_predict
python main.py --action=refine_predict

Evaluation code is obtained in the dataset. (cholec80/eva/Main.m). You will get Acc=88.7% and 92.6%, respectively.

Train the model with your own settings

python main.py --action=base_train
python main.py --action=refine_train

[Optical]

We also provide the code for generating disturbed prediction sequence, but it is not necessary because we have provided the generated sequence in the download dataset.

python main.py --action=cross_validate_type
python main.py --action=mask_hard_frame_type
python main.py --action=random_mask_type

We also provide the code for extract inceptionv3 features for video frames and find out hard frames in the dataset. Again, this is not a necessary step.

python frame_feature_extractor.py --action=train --dataset=cholec80
python frame_feature_extractor.py --action=extract --dataset=cholec80 --target=train_set/test_set
python frame_feature_extractor.py --action=hard_frame --dataset=cholec80 --target=train_set --k=0/1/2.../9
python frame_feature_extractor.py --action=hard_frame --dataset=cholec80 --target=test_set

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.