-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] import intel-tensorflow >=2.8.0 will cause unexpected error #12747
Comments
If I set the IR batch as 1, the error msg: RuntimeError: dimension (1) in node dim must be greater or equal to -1: at offset The source code seems not to raise error: int64_t dim = 0;
const pugi::char_t* dimVal = node.child_value();
std::stringstream ss(dimVal);
if (!(ss >> dim) || dim < -1) {
IE_THROW() << "dimension (" << dimVal << ") in node " << node.name()
<< " must be greater or equal to -1: at offset " << node.offset_debug();
} No idea why. |
intel-tensorflow2.8+OpenVINO 2022.1+tcmalloc works. |
@zhentaocc Do you see this issue when using OpenVINO 2022.1 release and tensorflow 2.5.3? This version is installed together with openvino when running pip install openvino-dev[tensorflow2]. Also, there is a pre-release 2022.2 available, could you try on this version as well? |
No issue.
show error: Traceback (most recent call last):
File "test.py", line 10, in <module>
core.read_model('mobilenet_v2/mobilenet_v2.xml')
RuntimeError: Check 'false' failed at frontends/common/src/frontend.cpp: |
@zhentaocc Glad it's working with Tensorflow version 2.5.3. Regarding this error: I didn't see this error when setting up a virtual environment as follows. Are your step similar to mine?
python main.py:
|
@jgespino pls install intel-tensorflow 2.8.0. |
@zhentaocc Let me check with the development team, I will keep you posted. Ref: 90155 |
@zhentaocc the issue was confirmed to be on intel-tensoflow side as Stringstream becomes broken after importing intel-tensorfow We have internal ticket: 5531 to track it |
Closing this one as it was confirmed that model works fine with just OpenVINO without intel-tensorflow |
System information (version)
Detailed description
intel-tensorflow >=2.8.0 will cause unexpected error.
Steps to reproduce
install requirements
Run following script:
Error:
Issue submission checklist
The text was updated successfully, but these errors were encountered: