From 59d76d64972236e11d3f060a38eac0904eb7df03 Mon Sep 17 00:00:00 2001 From: yihong xu <yihong.xu@inria.fr> Date: Thu, 16 Apr 2020 14:38:06 +0200 Subject: [PATCH] update licence header. --- .idea/deepmot.iml | 12 -- .idea/misc.xml | 4 - .idea/modules.xml | 8 -- .idea/vcs.xml | 6 - .idea/workspace.xml | 288 --------------------------------------- __init__.py | 9 ++ evalation.py | 11 +- models/DAN.py | 10 ++ models/DHN.py | 11 +- models/__init__.py | 9 ++ models/siamrpn.py | 11 +- plot_results.py | 15 +- tracking_on_mot.py | 11 +- train_mot.py | 12 +- utils/DAN_utils.py | 9 ++ utils/__init__.py | 9 ++ utils/box_utils.py | 11 +- utils/io_utils.py | 11 +- utils/loss.py | 11 +- utils/mot_utils.py | 13 +- utils/noise_utils.py | 11 +- utils/sot_utils.py | 13 +- utils/tracking_config.py | 11 +- 23 files changed, 115 insertions(+), 401 deletions(-) delete mode 100644 .idea/deepmot.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml diff --git a/.idea/deepmot.iml b/.idea/deepmot.iml deleted file mode 100644 index 7c9d48f..0000000 --- a/.idea/deepmot.iml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module type="PYTHON_MODULE" version="4"> - <component name="NewModuleRootManager"> - <content url="file://$MODULE_DIR$" /> - <orderEntry type="inheritedJdk" /> - <orderEntry type="sourceFolder" forTests="false" /> - </component> - <component name="TestRunnerService"> - <option name="projectConfiguration" value="pytest" /> - <option name="PROJECT_TEST_RUNNER" value="pytest" /> - </component> -</module> \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 65531ca..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" /> -</project> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index cda52c8..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectModuleManager"> - <modules> - <module fileurl="file://$PROJECT_DIR$/.idea/deepmot.iml" filepath="$PROJECT_DIR$/.idea/deepmot.iml" /> - </modules> - </component> -</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$" vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 671792f..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,288 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ChangeListManager"> - <list default="true" id="0fadd8fa-3a59-465d-b730-df94709c4cb7" name="Default Changelist" comment="update readme."> - <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/tracking_on_mot.py" beforeDir="false" afterPath="$PROJECT_DIR$/tracking_on_mot.py" afterDir="false" /> - </list> - <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> - <option name="SHOW_DIALOG" value="false" /> - <option name="HIGHLIGHT_CONFLICTS" value="true" /> - <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> - <option name="LAST_RESOLUTION" value="IGNORE" /> - </component> - <component name="FileEditorManager"> - <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> - <file pinned="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/evalation.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="2500"> - <caret line="132" column="69" selection-start-line="132" selection-start-column="69" selection-end-line="132" selection-end-column="69" /> - <folding> - <element signature="e#424#433#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> - </file> - <file pinned="false" current-in-tab="true"> - <entry file="file://$PROJECT_DIR$/tracking_on_mot.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="63"> - <caret line="356" lean-forward="true" selection-start-line="356" selection-end-line="356" /> - <folding> - <element signature="e#423#432#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> - </file> - <file pinned="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/utils/tracking_config.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="240"> - <caret line="12" column="4" selection-start-line="12" selection-start-column="4" selection-end-line="12" selection-end-column="4" /> - </state> - </provider> - </entry> - </file> - <file pinned="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/train_mot.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="294"> - <caret line="283" column="44" selection-start-line="283" selection-start-column="44" selection-end-line="283" selection-end-column="44" /> - </state> - </provider> - </entry> - </file> - <file pinned="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/README.md"> - <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> - <state split_layout="SPLIT"> - <first_editor relative-caret-position="120"> - <caret line="126" column="3" selection-start-line="126" selection-start-column="3" selection-end-line="126" selection-end-column="3" /> - </first_editor> - <second_editor /> - </state> - </provider> - </entry> - </file> - <file pinned="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/plot_results.py"> - <provider selected="true" editor-type-id="text-editor" /> - </entry> - </file> - </leaf> - </component> - <component name="FindInProjectRecents"> - <findStrings> - <find>siamr</find> - </findStrings> - </component> - <component name="Git.Settings"> - <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> - </component> - <component name="IdeDocumentHistory"> - <option name="CHANGED_PATHS"> - <list> - <option value="$PROJECT_DIR$/evalation.py" /> - <option value="$PROJECT_DIR$/requirements" /> - <option value="$PROJECT_DIR$/train_mot.py" /> - <option value="$PROJECT_DIR$/SingularityImages/README.md" /> - <option value="$PROJECT_DIR$/README.md" /> - <option value="$PROJECT_DIR$/tracking_on_mot.py" /> - </list> - </option> - </component> - <component name="ProjectFrameBounds" extendedState="6"> - <option name="x" value="67" /> - <option name="y" value="249" /> - <option name="width" value="1843" /> - <option name="height" value="831" /> - </component> - <component name="ProjectView"> - <navigator proportions="" version="1"> - <foldersAlwaysOnTop value="true" /> - </navigator> - <panes> - <pane id="ProjectPane"> - <subPane> - <expand> - <path> - <item name="deepmot" type="b2602c69:ProjectViewProjectNode" /> - <item name="deepmot" type="462c0819:PsiDirectoryNode" /> - </path> - </expand> - <select /> - </subPane> - </pane> - <pane id="Scope" /> - </panes> - </component> - <component name="PropertiesComponent"> - <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> - <property name="last_opened_file_path" value="$PROJECT_DIR$/SingularityImages" /> - </component> - <component name="RecentsManager"> - <key name="CopyFile.RECENT_KEYS"> - <recent name="$PROJECT_DIR$/SingularityImages" /> - </key> - </component> - <component name="RunDashboard"> - <option name="ruleStates"> - <list> - <RuleState> - <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> - </RuleState> - <RuleState> - <option name="name" value="StatusDashboardGroupingRule" /> - </RuleState> - </list> - </option> - </component> - <component name="SvnConfiguration"> - <configuration /> - </component> - <component name="TaskManager"> - <task active="true" id="Default" summary="Default task"> - <changelist id="0fadd8fa-3a59-465d-b730-df94709c4cb7" name="Default Changelist" comment="" /> - <created>1559933365142</created> - <option name="number" value="Default" /> - <option name="presentableId" value="Default" /> - <updated>1559933365142</updated> - </task> - <task id="LOCAL-00001" summary="correct txt encoding problem."> - <created>1560242415941</created> - <option name="number" value="00001" /> - <option name="presentableId" value="LOCAL-00001" /> - <option name="project" value="LOCAL" /> - <updated>1560242415941</updated> - </task> - <task id="LOCAL-00002" summary="update readme."> - <created>1560243751519</created> - <option name="number" value="00002" /> - <option name="presentableId" value="LOCAL-00002" /> - <option name="project" value="LOCAL" /> - <updated>1560243751519</updated> - </task> - <task id="LOCAL-00003" summary="add Singularity Images Folder"> - <created>1560244485226</created> - <option name="number" value="00003" /> - <option name="presentableId" value="LOCAL-00003" /> - <option name="project" value="LOCAL" /> - <updated>1560244485226</updated> - </task> - <task id="LOCAL-00004" summary="update readme"> - <created>1560273133268</created> - <option name="number" value="00004" /> - <option name="presentableId" value="LOCAL-00004" /> - <option name="project" value="LOCAL" /> - <updated>1560273133268</updated> - </task> - <task id="LOCAL-00005" summary="update readme."> - <created>1560273209575</created> - <option name="number" value="00005" /> - <option name="presentableId" value="LOCAL-00005" /> - <option name="project" value="LOCAL" /> - <updated>1560273209575</updated> - </task> - <option name="localTasksCounter" value="6" /> - <servers /> - </component> - <component name="ToolWindowManager"> - <frame x="67" y="25" width="1853" height="1055" extended-state="6" /> - <layout> - <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.1568306" /> - <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> - <window_info id="Favorites" order="2" side_tool="true" /> - <window_info anchor="bottom" id="Message" order="0" /> - <window_info anchor="bottom" id="Find" order="1" /> - <window_info anchor="bottom" id="Run" order="2" /> - <window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> - <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> - <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> - <window_info anchor="bottom" id="TODO" order="6" /> - <window_info anchor="bottom" id="Version Control" order="7" visible="true" weight="0.16306695" /> - <window_info anchor="bottom" id="Terminal" order="8" /> - <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" /> - <window_info anchor="bottom" id="Python Console" order="10" /> - <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> - <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> - <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> - </layout> - </component> - <component name="VcsManagerConfiguration"> - <MESSAGE value="correct txt encoding problem." /> - <MESSAGE value="add Singularity Images Folder" /> - <MESSAGE value="update readme" /> - <MESSAGE value="update readme." /> - <option name="LAST_COMMIT_MESSAGE" value="update readme." /> - </component> - <component name="editorHistoryManager"> - <entry file="file://$PROJECT_DIR$/requirements"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="180"> - <caret line="9" lean-forward="true" selection-start-line="9" selection-end-line="9" /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/SingularityImages/README.md"> - <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> - <state split_layout="SPLIT"> - <first_editor relative-caret-position="20"> - <caret line="1" column="27" selection-start-line="1" selection-start-column="27" selection-end-line="1" selection-end-column="27" /> - </first_editor> - <second_editor /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/evalation.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="2500"> - <caret line="132" column="69" selection-start-line="132" selection-start-column="69" selection-end-line="132" selection-end-column="69" /> - <folding> - <element signature="e#424#433#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/utils/tracking_config.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="240"> - <caret line="12" column="4" selection-start-line="12" selection-start-column="4" selection-end-line="12" selection-end-column="4" /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/plot_results.py"> - <provider selected="true" editor-type-id="text-editor" /> - </entry> - <entry file="file://$PROJECT_DIR$/train_mot.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="294"> - <caret line="283" column="44" selection-start-line="283" selection-start-column="44" selection-end-line="283" selection-end-column="44" /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/README.md"> - <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> - <state split_layout="SPLIT"> - <first_editor relative-caret-position="120"> - <caret line="126" column="3" selection-start-line="126" selection-start-column="3" selection-end-line="126" selection-end-column="3" /> - </first_editor> - <second_editor /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/tracking_on_mot.py"> - <provider selected="true" editor-type-id="text-editor"> - <state relative-caret-position="63"> - <caret line="356" lean-forward="true" selection-start-line="356" selection-end-line="356" /> - <folding> - <element signature="e#423#432#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> - </component> -</project> \ No newline at end of file diff --git a/__init__.py b/__init__.py index e69de29..99cc951 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1,9 @@ +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). +# This file is a part of implementation for paper: +# How To Train Your Deep Multi-Object Tracker. +# This contribution is headed by Perception research team, INRIA. +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== diff --git a/evalation.py b/evalation.py index 69b5933..63858fc 100644 --- a/evalation.py +++ b/evalation.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import os diff --git a/models/DAN.py b/models/DAN.py index 29b0e90..5cd876b 100644 --- a/models/DAN.py +++ b/models/DAN.py @@ -1,3 +1,13 @@ +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). +# This file is a part of implementation for paper: +# How To Train Your Deep Multi-Object Tracker. +# This contribution is headed by Perception research team, INRIA. +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== + """ SST tracker net diff --git a/models/DHN.py b/models/DHN.py index 347769a..52c62c3 100644 --- a/models/DHN.py +++ b/models/DHN.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import torch import torch.nn as nn diff --git a/models/__init__.py b/models/__init__.py index e69de29..533d5c5 100644 --- a/models/__init__.py +++ b/models/__init__.py @@ -0,0 +1,9 @@ +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). +# This file is a part of implementation for paper: +# How To Train Your Deep Multi-Object Tracker. +# This contribution is headed by Perception research team, INRIA. +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== \ No newline at end of file diff --git a/models/siamrpn.py b/models/siamrpn.py index 853a68d..e3f09f3 100644 --- a/models/siamrpn.py +++ b/models/siamrpn.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import torch.nn as nn import torch.nn.functional as F diff --git a/plot_results.py b/plot_results.py index bceef3d..d66c547 100644 --- a/plot_results.py +++ b/plot_results.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# -# Contributor(s) : Yutong Ban -# INRIA contact : yutong.ban@inria.fr -# -# =========================================================================== +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== import os import cv2 diff --git a/tracking_on_mot.py b/tracking_on_mot.py index 7fc87a6..e1cd14f 100644 --- a/tracking_on_mot.py +++ b/tracking_on_mot.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import os import csv diff --git a/train_mot.py b/train_mot.py index 8f3b69b..9777adf 100644 --- a/train_mot.py +++ b/train_mot.py @@ -1,14 +1,12 @@ - -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import os import random diff --git a/utils/DAN_utils.py b/utils/DAN_utils.py index ca1964d..1e59eac 100644 --- a/utils/DAN_utils.py +++ b/utils/DAN_utils.py @@ -1,3 +1,12 @@ +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). +# This file is a part of implementation for paper: +# How To Train Your Deep Multi-Object Tracker. +# This contribution is headed by Perception research team, INRIA. +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== import cv2 import numpy as np diff --git a/utils/__init__.py b/utils/__init__.py index e69de29..99cc951 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -0,0 +1,9 @@ +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). +# This file is a part of implementation for paper: +# How To Train Your Deep Multi-Object Tracker. +# This contribution is headed by Perception research team, INRIA. +# Contributor(s) : Yihong Xu +# INRIA contact : yihong.xu@inria.fr +# created on 16th April 2020. +#========================================================================== diff --git a/utils/box_utils.py b/utils/box_utils.py index 08f503f..dc0e6e8 100644 --- a/utils/box_utils.py +++ b/utils/box_utils.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import numpy as np import copy diff --git a/utils/io_utils.py b/utils/io_utils.py index 2172e4e..0bdcaa5 100644 --- a/utils/io_utils.py +++ b/utils/io_utils.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import csv from utils.box_utils import xywh2xyxy diff --git a/utils/loss.py b/utils/loss.py index 388c14f..5d538a2 100644 --- a/utils/loss.py +++ b/utils/loss.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== from utils.box_utils import * import torch.nn.functional as F diff --git a/utils/mot_utils.py b/utils/mot_utils.py index ba9ea03..be21641 100644 --- a/utils/mot_utils.py +++ b/utils/mot_utils.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== from utils.sot_utils import * from utils.DAN_utils import TrackUtil @@ -107,7 +106,7 @@ def easy_birth_deathV4_rpn(munkres, bbox_track, det_boxes, curr_img, id_track, c pre_id=None): """ birth and death process during training - :param munkres: assignment matrix {0,1} for track_detection association, numpy array, [batch, H, W] + :param munkres: assignment matrix {0�?} for track_detection association, numpy array, [batch, H, W] :param bbox_track: current tracks bboxes, torch Float tensor, [num_track, 4] :param curr_img: current frame, numpy array, [h,w,c] :param det_boxes: current detection (or gt) boxes [[id, bbox], [id, bbox]], list, [num_boxes, 5] diff --git a/utils/noise_utils.py b/utils/noise_utils.py index b17065b..c3f6771 100644 --- a/utils/noise_utils.py +++ b/utils/noise_utils.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import numpy as np import cv2 diff --git a/utils/sot_utils.py b/utils/sot_utils.py index 5ad5c03..baab873 100644 --- a/utils/sot_utils.py +++ b/utils/sot_utils.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== import torch.nn.functional as F import torch @@ -441,7 +440,7 @@ def tracker_eval(net, x_crop, target_pos, target_sz, window, scale_z, p, templat def update_target_image_train(predicted, id_track, dets, img_curr, states, SOT_tracker, prev_id=None): """ - :param predicted: assignment matrix {0,1} for track_detection association, numpy array, [batch, H, W] + :param predicted: assignment matrix {0�?} for track_detection association, numpy array, [batch, H, W] :param id_track: current tracking ids, list :param dets: current detection (or gt) boxes [[id, bbox], [id, bbox]], list, [num_boxes, 5] :param img_curr: current frame, numpy array, [h,w,c] diff --git a/utils/tracking_config.py b/utils/tracking_config.py index d69e692..673239e 100644 --- a/utils/tracking_config.py +++ b/utils/tracking_config.py @@ -1,13 +1,12 @@ -# ========================================================================== -# +#========================================================================== +# This file is under License LGPL-3.0 (see details in the license file). # This file is a part of implementation for paper: -# DeepMOT: A Differentiable Framework for Training Multiple Object Trackers. +# How To Train Your Deep Multi-Object Tracker. # This contribution is headed by Perception research team, INRIA. -# # Contributor(s) : Yihong Xu # INRIA contact : yihong.xu@inria.fr -# -# =========================================================================== +# created on 16th April 2020. +#========================================================================== def tracking_config(vname, dataset): -- GitLab