Git Product home page Git Product logo

csd-sam's Introduction

CSD-SAM code hub

image

Environments

  • torch==1.8.1
  • timm==0.4.12
  • opencv-python==4.8.0.76
  • sscipy==1.10.1
  • yacs==0.1.8
  • loguru==0.7.2
  • pandas==2.0.3
  • hdf5storage==0.1.19
  • matplotlib==3.4.3
  • numpy==1.21.2

Install SAM

cd S3_SAM_CSD
pip install -e .

Prepare for data

  • downloaod ordinary train video
  • put the video in directory [project]/data
    • The directory structure is as follows:

      [project]
      ├─ data
      │    └─ csd.mp4
      ├─ S0_OpticalFlow
      ├─ S1_Classification
      ├─ S2_BuildPrompts
      ├─ S3_SAM_CSD
      ├─ img2video.py
      ├─ requirements.txt
      ├─ run.sh
      ├─ README.md
      └─ video2img.py
      

Run

Step 1

python video2img.py

Step 2

./run.sh

Acknowledgments

License

The model is licensed under the Apache 2.0 license.

csd-sam's People

Contributors

fffqh avatar

Watchers

 avatar

csd-sam's Issues

README

  • README dome:
output_csd.mp4

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.