Skip to content

Commit

Permalink
update 0916 morning
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieZhai committed Sep 16, 2021
1 parent 0274051 commit 3ef421f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
30 changes: 30 additions & 0 deletions SiamBOMB/downloader.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# GitHub: JackieZhai @ MiRA, CASIA, Beijing, China
# See Corresponding LICENSE, All Right Reserved.
#

import sys
from os import path
import gdown


url_siamme = 'https://drive.google.com/u/0/uc?id=1VVpCAUJeysyRWdLdfW1IsT3AsQUQvwAU'
url_kys = 'https://drive.google.com/u/0/uc?id=13uOa9cpTyVf7hB3RkdjjN-hyEr4yJiSw'
url_lwl = 'https://drive.google.com/u/0/uc?id=18G1kAcLrTgO1Hgyj290mqPKsfVIkI9lw'
url_keept = 'https://drive.google.com/u/0/uc?id=1zyadmon8codJDvOQlHAsBDPA_ouN4Zud'
url_sdimps = 'https://drive.google.com/u/0/uc?id=1cRgzZ0MFFeE2PaZL3BWbYXu9Aq73f-TR'

root_abs = path.dirname(path.abspath(__file__))
path_siamme = path.join(root_abs, 'pysot/experiments/siammaske_r50_l3', 'model.pkl')
path_kys = path.join(root_abs, 'pytracking/networks', 'kys.pth')
path_lwl = path.join(root_abs, 'pytracking/networks', 'lwl_boxinit.pth')
path_keept = path.join(root_abs, 'pytracking/networks', 'keep_track.pth')
path_sdimps = path.join(root_abs, 'pytracking/networks', 'super_dimp_simple.pth')


if __name__ == '__main__':
gdown.download(url_siamme, path_siamme, quiet=False)
gdown.download(url_kys, path_kys, quiet=False)
gdown.download(url_lwl, path_lwl, quiet=False)
gdown.download(url_keept, path_keept, quiet=False)
gdown.download(url_sdimps, path_sdimps, quiet=False)
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="SiamBOMB",
version="0.0.2",
version="0.0.4",
author="JackieZhai",
author_email="[email protected]",
description="SiamBOMB: Siamese network using Background information for real-time Online Multi-species home-cage animal Behavioral analysis",
Expand Down Expand Up @@ -42,6 +42,7 @@
"scikit-image",
"visdom",
"tb-nightly",
"tikzplotlib"
"tikzplotlib",
"gdown"
]
)

0 comments on commit 3ef421f

Please sign in to comment.