CNNNetwork getLayerByName alternative for openvino 2021 - openvino

Hi I'm working on Openvino and upgraded recently and found a deprecation I cannot get around.
CNNetwork API getLayerByName was deprecated and removed in Openvino 2021. I am struggling to find an alternative approach with the new API. For now I have just ignored checking if the layer names are what I expect.
Thanks

Yes, the CNNNetwork Api getLayerByName was deprecated and the only alternative would be to migrate to IR V10 and modify nGraph function directly. Refer to this documentation https://docs.openvinotoolkit.org/2020.4/deprecated.html

Related

NestJS enableVersioning not defined?

I'm trying to follow the simple guide on adding versioning to my API in NestJS. But the app instance does not seem to have the enableVersioning(). There also doesn't seem to be any VersionType enum exported by any Nest package.
I'd love to be able to add versioning.
enableVersioning was added in #nestjs/common#8 and #nestjs/core#8. The docs are current for Nest v8, for v7 you can view the docs here. Make sure you're using the latest version to have access to all of the features in the docs.

Available Node Package Module that supports amazon product api version 5.0

Amazon recently published its Amazon Product Advertising API v5.0 for Amazon Affiliate Program. From 31st October 2019, previous version 4.0 of API will be taken down and only v5.0 will be supported to access Amazon products programmatically.
With these changes, most available node modules and applications will no longer work with V5.0. For this Amazon PA-API 5.0, Amazon has released an SDK for PHP, NodeJs, Python and, Java. However, using the SDK for NodeJs may require time to configure.
That being said, is there an available Node Package module that we can use to easily start integrating our application?
There are a few NPM wrappers that are available today that help you use Paapi 5.0 for NodeJS. All of this module uses the amazon SDK for their code.
amazon-paapi - By far my favorite as it uses simple to understand node syntax. Adding parameters is much like how you do it using amazon scratchpad. It also support custom parameter options.
amazon-pa-api50 - Another great module. However, as of this writing, I found some limitations on optional parameters you can add to some operations.
apaw - alternative option.

How to write Google DataFlow templates in NodeJS?

I'm looking for information on writing DataFlow jobs in NodeJS. The tutorials are all referring to Java or Python.
Any ideas if it's possible?
Until now(2.13.0), Beam allows writing pipeline by Python, Java and Go.
Beam community is working on cross language pipeline feature that allows call PTransforms written in another language, but NodeJS is not on the roadmap.
Check[1] for more information on it.
[1] https://beam.apache.org/roadmap/portability
There is support for TypeScript now.
As of February 2023. it's still experimental but main functionality is covered, from Apache Beam documentation:
The Typescript SDK supports Node v16+ and is still experimental.
You can install it via npm:
npm install apache-beam
More instructions and documentation can be found in the official sites at npm and github.
Link npm: https://www.npmjs.com/package/apache-beam
Link github (example): https://github.com/apache/beam-starter-typescript

Google Api and Google Auth Library which one should I use for GoogleOAuth2

What are the differences between those those two libraries?
Which one should I use for authentication?
https://github.com/google/google-api-nodejs-client
https://github.com/google/google-auth-library-nodejs
for example:
I saw that while one include the setCredentials, the other doesn't support it. and have credentials as a property
So, it appears that the first one is indeed in alpha.
Also, the second one is official release and maintained by google fellows, and yesterday was released it 1.0.0 version.
see it here as well -> https://github.com/google/google-auth-library-nodejs/issues/241

Bluemix + Node.js - Is there documentation for the watson-developer-cloud module?

I am interested in playing around with the Q & A service, the demo app uses the REST API and I am wondering if the service can be used with the newer watson-developer-cloud module and if so where can I find an example or documentation for those functions.
The demo is online at Q&A Node.js demo but this uses the older REST API.
Thanks,
Andy
Yes, you should be able to use the service with the newer watson-developer-cloud module, but there's no updated demo. Note, that the module was not changed drastically enough that it should really matter.
The README.md file for the Github repository containing the project has a full set of usage instructions.

Resources