├── LICENCE.md ├── README.md ├── demo.py ├── demo.sh ├── examples ├── 000000000724.jpg ├── 000000404922.jpg ├── 00022_00197_outdoor_300_050.png ├── 0SpJOOTH7R4_144577767_image.jpg ├── 0SpJOOTH7R4_215215000_image.jpg └── frame_0017.png ├── models ├── DepthNet.py ├── networks.py ├── resnet.py └── syncbn │ ├── LICENSE │ ├── README.md │ ├── make_ext.sh │ ├── modules │ ├── __init__.py │ ├── __init__.pyc │ ├── __pycache__ │ │ └── __init__.cpython-37.pyc │ ├── functional │ │ ├── __init__.py │ │ ├── __init__.pyc │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── syncbn.cpython-37.pyc │ │ ├── _syncbn │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── __pycache__ │ │ │ │ └── __init__.cpython-37.pyc │ │ │ ├── _ext │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── __pycache__ │ │ │ │ │ └── __init__.cpython-37.pyc │ │ │ │ └── syncbn │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── __pycache__ │ │ │ │ │ └── __init__.cpython-37.pyc │ │ │ │ │ └── _syncbn.so │ │ │ ├── build.py │ │ │ └── src │ │ │ │ ├── common.h │ │ │ │ ├── syncbn.cpp │ │ │ │ ├── syncbn.cu │ │ │ │ ├── syncbn.cu.h │ │ │ │ ├── syncbn.cu.o │ │ │ │ └── syncbn.h │ │ ├── syncbn.py │ │ └── syncbn.pyc │ └── nn │ │ ├── __init__.py │ │ ├── __init__.pyc │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── syncbn.cpython-37.pyc │ │ ├── syncbn.py │ │ └── syncbn.pyc │ ├── requirements.txt │ └── test.py └── ranking_loss.py /LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/LICENCE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/README.md -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/demo.py -------------------------------------------------------------------------------- /demo.sh: -------------------------------------------------------------------------------- 1 | CUDA_VISIBLE_DEVICES=0 python demo.py 2 | -------------------------------------------------------------------------------- /examples/000000000724.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/000000000724.jpg -------------------------------------------------------------------------------- /examples/000000404922.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/000000404922.jpg -------------------------------------------------------------------------------- /examples/00022_00197_outdoor_300_050.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/00022_00197_outdoor_300_050.png -------------------------------------------------------------------------------- /examples/0SpJOOTH7R4_144577767_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/0SpJOOTH7R4_144577767_image.jpg -------------------------------------------------------------------------------- /examples/0SpJOOTH7R4_215215000_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/0SpJOOTH7R4_215215000_image.jpg -------------------------------------------------------------------------------- /examples/frame_0017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/examples/frame_0017.png -------------------------------------------------------------------------------- /models/DepthNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/DepthNet.py -------------------------------------------------------------------------------- /models/networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/networks.py -------------------------------------------------------------------------------- /models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/resnet.py -------------------------------------------------------------------------------- /models/syncbn/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/LICENSE -------------------------------------------------------------------------------- /models/syncbn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/README.md -------------------------------------------------------------------------------- /models/syncbn/make_ext.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/make_ext.sh -------------------------------------------------------------------------------- /models/syncbn/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/syncbn/modules/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/__init__.py: -------------------------------------------------------------------------------- 1 | from .syncbn import batchnorm2d_sync 2 | -------------------------------------------------------------------------------- /models/syncbn/modules/functional/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/__pycache__/syncbn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/__pycache__/syncbn.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/syncbn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/syncbn/__init__.py -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/syncbn/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/syncbn/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/syncbn/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/syncbn/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/_ext/syncbn/_syncbn.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/_ext/syncbn/_syncbn.so -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/build.py -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/common.h -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/syncbn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/syncbn.cpp -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/syncbn.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/syncbn.cu -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/syncbn.cu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/syncbn.cu.h -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/syncbn.cu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/syncbn.cu.o -------------------------------------------------------------------------------- /models/syncbn/modules/functional/_syncbn/src/syncbn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/_syncbn/src/syncbn.h -------------------------------------------------------------------------------- /models/syncbn/modules/functional/syncbn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/syncbn.py -------------------------------------------------------------------------------- /models/syncbn/modules/functional/syncbn.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/functional/syncbn.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/nn/__init__.py: -------------------------------------------------------------------------------- 1 | from .syncbn import * 2 | -------------------------------------------------------------------------------- /models/syncbn/modules/nn/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/nn/__init__.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/nn/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/nn/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/nn/__pycache__/syncbn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/nn/__pycache__/syncbn.cpython-37.pyc -------------------------------------------------------------------------------- /models/syncbn/modules/nn/syncbn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/nn/syncbn.py -------------------------------------------------------------------------------- /models/syncbn/modules/nn/syncbn.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/modules/nn/syncbn.pyc -------------------------------------------------------------------------------- /models/syncbn/requirements.txt: -------------------------------------------------------------------------------- 1 | future 2 | cffi 3 | -------------------------------------------------------------------------------- /models/syncbn/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/models/syncbn/test.py -------------------------------------------------------------------------------- /ranking_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KexianHust/Structure-Guided-Ranking-Loss/HEAD/ranking_loss.py --------------------------------------------------------------------------------