FairMOT | FairMOT : On the Fairness of Detection | Computer Vision library

 by   ifzhang Python Version: Current License: MIT

kandi X-RAY | FairMOT Summary

kandi X-RAY | FairMOT Summary

FairMOT is a Python library typically used in Artificial Intelligence, Computer Vision, Tensorflow applications. FairMOT has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

A simple baseline for one-shot multi-object tracking:. FairMOT: On the Fairness of Detection and Re-Identification in Multiple Object Tracking, Yifu Zhang, Chunyu Wang, Xinggang Wang, Wenjun Zeng, Wenyu Liu, arXiv technical report (arXiv 2004.01888).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              FairMOT has a medium active ecosystem.
              It has 3751 star(s) with 908 fork(s). There are 88 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 333 open issues and 174 have been closed. On average issues are closed in 66 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of FairMOT is current.

            kandi-Quality Quality

              FairMOT has 0 bugs and 0 code smells.

            kandi-Security Security

              FairMOT has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              FairMOT code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              FairMOT is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              FairMOT releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              FairMOT saves you 3001 person hours of effort in developing the same functionality from scratch.
              It has 7483 lines of code, 476 functions and 54 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed FairMOT and discovered the below as its top functions. This is intended to give you an instant insight into FairMOT implemented functionality, and help decide if they suit your requirements.
            • Evaluate a sequence
            • Compute NMS of a heatmap
            • Loads a trained model
            • Decode heatmap
            • Compute the top k features
            • Create a convolution layer
            • Gets the configuration for deconvolution
            • Helper function for build_targets
            • Return the first unique index in uv
            • Compute the precision - recall curve for each class
            • Compute the area of the PR curve
            • Example showing the video tracking
            • Draws a heatmap using the uich - gaussian
            • Draw a dense reg map
            • Forward computation
            • Plot an image
            • Updates the information of the dataset
            • Generate random images for the user
            • Compute iou distance between two tracks
            • Create a topResolution layer
            • Load a trained model
            • Forward computation
            • Parse arguments
            • Given a prediction of a predicted prediction
            • Parse a model dictionary
            • Perform the update of the covariance matrix
            • Helper function for parallel_apply
            Get all kandi verified functions for this library.

            FairMOT Key Features

            No Key Features are available at this moment for FairMOT.

            FairMOT Examples and Code Snippets

            copy iconCopy
            def postprocess(pred_dets, pred_embs, threshold = 0.5):
                tracker = JDETracker()
                online_targets_dict = tracker.update(pred_dets, pred_embs)
                online_tlwhs = defaultdict(list)
                online_scores = defaultdict(list)
                online_ids = defaultdict(  
            FairMOT,Data preparation
            Pythondot img2Lines of Code : 26dot img2License : Permissive (MIT)
            copy iconCopy
            crowdhuman
               |——————images
               |        └——————train
               |        └——————val
               └——————labels_with_ids
               |         └——————train(empty)
               |         └——————val(empty)
               └------annotation_train.odgt
               └------annotation_val.odgt
            
            cd src
            python gen_lab  
            MCFairMOT (Multi-class FairMOT)-Citations
            Pythondot img3Lines of Code : 24dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            @article{zhang2020fair,
              title={FairMOT: On the Fairness of Detection and Re-Identification in Multiple Object Tracking},
              author={Zhang, Yifu and Wang, Chunyu and Wang, Xinggang and Zeng, Wenjun and Liu, Wenyu},
              journal={arXiv preprint arXiv:200  
            Fit the model .
            pythondot img4Lines of Code : 72dot img4License : Permissive (MIT License)
            copy iconCopy
            def fit(
                    self, lr: float = 1e-4, lr_step: str = "20,27", num_epochs: int = 30
                ) -> None:
                    """
                    The main training loop.
            
                    Args:
                        lr: learning rate for batch size 32
                        lr_step: when to drop learn  
            Predict bounding boxes .
            pythondot img5Lines of Code : 55dot img5License : Permissive (MIT License)
            copy iconCopy
            def predict(
                    self,
                    im_or_video_path: str,
                    conf_thres: float = 0.6,
                    track_buffer: int = 30,
                    min_box_area: float = 200,
                    frame_rate: int = 30,
                ) -> Dict[int, List[TrackingBbox]]:
                    """
                     
            Return a DataLoader for images .
            pythondot img6Lines of Code : 48dot img6License : Permissive (MIT License)
            copy iconCopy
            def _get_dataloader(self, im_or_video_path: str) -> DataLoader:
                    """
                    Create a dataloader from images or video in the given path.
            
                    Args:
                        im_or_video_path: path to a root directory of images, or single video or ima  

            Community Discussions

            QUESTION

            Cython_bbox and lap installation error, #include "Python.h" not found
            Asked 2021-Dec-30 at 07:08

            I have encountered these strange errors upon trying to install these 2 libraries (Cython_bbox and lap), which are part of other libraries that I need when running pip install -r requirements.txt, which contains the following

            ...

            ANSWER

            Answered 2021-Dec-29 at 11:32

            QUESTION

            Conda Colab Error Collecting package metadata (current_repodata.json): failed InvalidVersionSpec: Invalid version '4.19.112+':empty version component
            Asked 2021-Apr-09 at 00:04

            Browser: Google Chrome latest

            I followed this Conda + Google Colab article to setup conda in colab which was working perfectly a few days ago.

            After that, I tried to set up FairMOT By running these commands

            ...

            ANSWER

            Answered 2021-Apr-09 at 00:04

            I created a quick-fix that works. I do not recomend this as a long-term solution.

            Change the contents of the file that raises the InvalidVersionSpec error. In my case this is the file /usr/local/lib/python3.7/site-packages/conda/models/version.py. You can get the location of this file for your case using !conda create your_env --verbose. (Note that one file generates the exception, but another one raises InvalidVersionSpec, go for the latter).

            Following are the lines of code of our interest:

            Source https://stackoverflow.com/questions/66956203

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install FairMOT

            Clone this repo, and we'll call the directory that you cloned as ${FAIRMOT_ROOT}
            Install dependencies. We use python 3.8 and pytorch >= 1.7.0
            We use DCNv2_pytorch_1.7 in our backbone network (pytorch_1.7 branch). Previous versions can be found in DCNv2.
            In order to run the code for demos, you also need to install ffmpeg.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ifzhang/FairMOT.git

          • CLI

            gh repo clone ifzhang/FairMOT

          • sshUrl

            git@github.com:ifzhang/FairMOT.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link