Giter Site home page Giter Site logo

darker66678 / nycu_vrdl_homework3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.33 MB

This is Homework 3 of VRDL about Instance segmentation for necleus dataset

Python 43.52% Shell 0.50% Lua 0.24% MATLAB 0.67% C++ 0.23% Makefile 0.02% Jupyter Notebook 54.56% Cython 0.12% C 0.11% Dockerfile 0.02% Batchfile 0.02% CSS 0.01%

nycu_vrdl_homework3's Introduction

NYCU_VRDL_Homework3

This is Homework 3 of VRDL about Instance segmentation for necleus dataset

| cocoapi cocoAPI is a very powerful tool in Segmentation and Object detection

| mmdetection This is a reference project from mmdetection

| --- model.sh Command of model

| --- sub.sh Command of zipping answer.json

| --- train_config Pretrain model and config file are put in here

| --- tools

| ------ train.py Main training program

| ------ test.py Main inference program

| nucleus Training and testing datasets should be put in here

| coco_trans.py Program of Converting mask img

| data_collation.py Shell script for data collation

| install.sh Shell script for installing

Requirements

Using python 3.7 in Anaconda

sh install.sh Install all the dependencies

Data preprocessing

Download Nucleus dataset and put in nucleus folder

Run python data_collation.py for Collation all the data

Run python coco_trans.py for Converting mask img into json file of coco

Training

you must download pretrained R-101-FPN as backbone and put it in ./mmdetection/train_config folder

Run sh model.sh train for Training model

Inference

Run sh model.sh test [.pth file] for inference

.json file will be save in ./mmdetection/

you can run sh sub.sh {filename_zip} for zipping file quickly

Pre-trained model

R-101-FPN as backbone, put it in ./mmdetection/traon_config folder

Mask R-CNN-R-101-FPN is my model file, you can generate prediction result after checking Evaluation part

Results

model name mAP
Mask R-CNN-R-101-FPN (840*840) + RandomCrop (600 * 600) + anchor scale =8 0.24518
Mask R-CNN-R-101-FPN (840*840) + RandomCrop (600 * 600) + anchor scale =6 0.244608
Mask R-CNN-R-101-FPN (640*640) + anchor scale =8 0.221494

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.