Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zhengang Li
VVCSoftware_VTM
Commits
3256804d
Commit
3256804d
authored
1 year ago
by
Franck Galpin
Browse files
Options
Downloads
Patches
Plain Diff
solve issue #61
parent
2746706f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
training/training_scripts/NN_Filtering_HOP/readme.md
+4
-4
4 additions, 4 deletions
training/training_scripts/NN_Filtering_HOP/readme.md
with
4 additions
and
4 deletions
training/training_scripts/NN_Filtering_HOP/readme.md
+
4
−
4
View file @
3256804d
...
...
@@ -281,7 +281,7 @@ If you need to adapt the settings of your device for training, please edit the f
When ready, simply run:
```
sh
python3 training_scripts/NN_Filtering_HOP/training/main.py
--json_config
training_scripts/NN_Filtering_HOP/config.json
\
python3 training_scripts/NN_Filtering_HOP/training/main.py training_scripts/NN_Filtering_HOP/config.json
\
training_scripts/NN_Filtering_HOP/model/model.json
\
training_scripts/NN_Filtering_HOP/training/cfg/training_default.json
\
training_scripts/NN_Filtering_HOP/training/cfg/stage2.json
...
...
@@ -290,7 +290,7 @@ python3 training_scripts/NN_Filtering_HOP/training/main.py --json_config traini
#### 2. Convert model
The last ONNX model is converted into float SADL format.
```
sh
python3 training_scripts/NN_Filtering_HOP/convert/to_sadl.py training_scripts/NN_Filtering_HOP/config.json
\
python3 training_scripts/NN_Filtering_HOP/convert/to_sadl.py
--json_config
training_scripts/NN_Filtering_HOP/config.json
\
--input_model
stage2/training
--output_model
stage2/conversion
```
...
...
@@ -380,7 +380,7 @@ This step is similar to II-A-4.
```
sh
LIST
=
"bvi bvi_valid tvd tvd_valid"
;
for
DS
in
$LIST
;
do
python3 tools/concatenate_dataset.py
--json_config
training_scripts/NN_Filtering_HOP/config.json
--input_dir_json
stage3/encdec_
${
DS
}
--output_json
stage3/encdec_
${
DS
}
python3 tools/concatenate_dataset.py
--json_config
training_scripts/NN_Filtering_HOP/config.json
--input_dir_json
stage3/encdec_
${
DS
}
--input_dir_dataset_json
stage2/yuv_
${
DS
}
--output_json
stage3/encdec_
${
DS
}
done
```
It will generate a unique dataset for each dataset in
[
"stage3"
][
"encdec"
][
"path"] from all individual datasets in ["stage3"
][
"encdec_xxx"
][
"path"]/["dump_dir"] and encoder logs in ["stage3"
][
"encdec_xxx"
]
["enc_dir"].
...
...
@@ -416,7 +416,7 @@ python3 training_scripts/NN_Filtering_HOP/training/main.py --json_config traini
#### 2. Convert model
The last ONNX model is converted into float SADL format.
```
sh
python3 training_scripts/NN_Filtering_HOP/convert/to_sadl.py training_scripts/NN_Filtering_HOP/config.json
\
python3 training_scripts/NN_Filtering_HOP/convert/to_sadl.py
--json_config
training_scripts/NN_Filtering_HOP/config.json
\
--input_model
stage3/training
--output_model
stage3/conversion
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment