Skip to content

[GNA] clear input scale factor from configuration for imported model#2172

Merged
dorloff merged 3 commits intoopenvinotoolkit:masterfrom
aalbersk:native_import_scale_factor_overwriten
Sep 29, 2020
Merged

[GNA] clear input scale factor from configuration for imported model#2172
dorloff merged 3 commits intoopenvinotoolkit:masterfrom
aalbersk:native_import_scale_factor_overwriten

Conversation

@aalbersk
Copy link
Copy Markdown
Contributor

Jira: 35235

@aalbersk aalbersk added the category: GNA OpenVINO GNA plugin label Sep 10, 2020
@aalbersk aalbersk force-pushed the native_import_scale_factor_overwriten branch 2 times, most recently from 2ba8076 to 33fd11c Compare September 17, 2020 11:50
@aalbersk aalbersk marked this pull request as ready for review September 17, 2020 12:04
@aalbersk aalbersk requested review from a team September 17, 2020 12:04
@dorloff
Copy link
Copy Markdown
Contributor

dorloff commented Sep 21, 2020

Needs to be rebased I think

@aalbersk aalbersk force-pushed the native_import_scale_factor_overwriten branch 2 times, most recently from e41daee to 219abce Compare September 22, 2020 09:21
@aalbersk aalbersk force-pushed the native_import_scale_factor_overwriten branch from 219abce to a2c853d Compare September 25, 2020 16:11
}
}
} else {
slog::info << "Using scale factor from provided exported gna model: " << FLAGS_rg << slog::endl;
Copy link
Copy Markdown
Contributor

@dorloff dorloff Sep 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should warn the user if the scale factors were set through the command line when exporting a model, not only log it. We don't need to analyze them, just report something line this: "Using the scale factor from the exported (maybe imported??) model, the user-defined scale factors will be ignored".
If everything's fine, I am not sure it makes sense to report this at all.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@aalbersk aalbersk force-pushed the native_import_scale_factor_overwriten branch from a2c853d to ceaecd0 Compare September 29, 2020 11:08
@aalbersk aalbersk force-pushed the native_import_scale_factor_overwriten branch from ceaecd0 to 67cedbc Compare September 29, 2020 11:20
@dorloff dorloff merged commit 1cfa47c into openvinotoolkit:master Sep 29, 2020
asomsiko pushed a commit to asomsiko/openvino that referenced this pull request Oct 13, 2020
…penvinotoolkit#2172)

* [GNA] clear input scale factor from configuration for imported model

* add test

* [GNA] add warning for using imported scale factors
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
…penvinotoolkit#2172)

* [GNA] clear input scale factor from configuration for imported model

* add test

* [GNA] add warning for using imported scale factors
tadamowicz pushed a commit to tadamowicz/openvino that referenced this pull request Aug 30, 2023
…penvinotoolkit#2172)

* [GNA] clear input scale factor from configuration for imported model

* add test

* [GNA] add warning for using imported scale factors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GNA OpenVINO GNA plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants