Skip to content

Commit 7071e87

Browse files
committed
Merge branch 'develop' into vsaltykovx/add_mmdetection_input_parameters_validation
2 parents 30fbec2 + a2ae0e0 commit 7071e87

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/stale_marker.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Close stale issues and PR"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v4
11+
with:
12+
stale-issue-message: "This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days."
13+
stale-pr-message: "This PR is stale because it has been open 90 days with no activity."
14+
close-issue-message: "This issue was closed because it has been stalled for 30 days with no activity."
15+
days-before-issue-stale: 90
16+
days-before-pr-stale: 90
17+
days-before-issue-close: 30
18+
days-before-pr-close: -1
19+
start-date: "2022-02-15T00:00:00Z"

ote_cli/ote_cli/utils/io.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def read_model(model_configuration, path, train_dataset):
105105
}
106106

107107
config_path = os.path.join(temp_dir, "demo_package", "config.json")
108-
with open(config_path) as f:
108+
with open(config_path, encoding="UTF-8") as f:
109109
model_parameters = json.load(f)["model_parameters"]
110110

111111
for key in model_adapter_keys:

0 commit comments

Comments
 (0)