Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Commit a26cf6b

Browse files
committed
(catalyst 20.03): update scripts
1 parent 86b13d4 commit a26cf6b

12 files changed

+28
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
hooks:
33
- id: yapf
44
name: yapf
5-
entry: bash ./bin/_yapf.sh --all-in-place
5+
entry: bash ./bin/codestyle/yapf.sh --all-in-place
66
language: system
77
files: \.py$
88
require_serial: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: check-style codestyle docker-build clean
22

33
check-style:
4-
bash ./bin/_check_codestyle.sh -s
4+
bash ./bin/codestyle/check_codestyle.sh -s
55

66
codestyle:
77
pre-commit run

bin/catalyst-binary-segmentation-pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#author :Sergey Kolesnikov, Yauheni Kachan
55
66
#date :20191016
7-
#version :19.10.2
7+
#version :20.03
88
#==============================================================================
99

1010
set -e

bin/catalyst-instance-segmentation-pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#author :Sergey Kolesnikov, Yauheni Kachan
55
66
#date :20191109
7-
#version :19.11.1
7+
#version :20.03
88
#==============================================================================
99

1010
set -e

bin/catalyst-semantic-segmentation-pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#author :Sergey Kolesnikov, Yauheni Kachan
55
66
#date :20191016
7-
#version :19.10.2
7+
#version :20.03
88
#==============================================================================
99

1010
set -e
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

bin/tests/_check_instance.sh renamed to bin/tests/check_instance.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
#!/usr/bin/env bash
2-
set -e
32

3+
# Cause the script to exit if a single command fails
4+
set -eo pipefail -v
5+
6+
7+
################################### DATA ####################################
8+
rm -rf ./data
9+
10+
# load the data
411
mkdir -p ./data
512

613
download-gdrive 1RCqaQZLziuq1Z4sbMpwD_WHjqR5cdPvh dsb2018_cleared_191109.tar.gz
714
tar -xf dsb2018_cleared_191109.tar.gz &>/dev/null
815
mv dsb2018_cleared_191109 ./data/origin
916

17+
18+
################################ pipeline 00 ################################
19+
rm -rf ./logs
20+
21+
22+
################################ pipeline 01 ################################
1023
CUDA_VISIBLE_DEVICES="" \
1124
CUDNN_BENCHMARK="True" \
1225
CUDNN_DETERMINISTIC="True" \
@@ -39,3 +52,7 @@ assert aggregated_loss < 0.9
3952
assert iou_soft > 0.05
4053
assert iou_hard > 0.1
4154
"""
55+
56+
57+
################################ pipeline 99 ################################
58+
rm -rf ./logs

0 commit comments

Comments
 (0)