How do I find alternative methods in tensorflow latest release to deprecated one like tf.image_summary used in some tensorflow official tutorials? - tensorflow

I am new to tensorflow. While I was reading the CNN tutorial, I found a broken link to a deprecated method image_summary.
What is the best practice to follow in such situation?
Shall I try to inform the tensorflow team about the broken links in their tutorials?
if so, what is the best channel to do so?
How shall I find the best alternative to the deprecated method in their latest release?

The safest way might be a quick search into the Tensorflow Github repo. E.g. https://github.com/tensorflow/tensorflow/search?utf8=%E2%9C%93&q=image+summary, where you'll see it's been renamed to tf.summary.image.
Surely it'll be much appreciated if you let the team know. I think the best way is to raise an issue here: https://github.com/tensorflow/tensorflow/issues

Related

Migration tips for ray.rllib.models: DeprecationWarning: `Model` has been deprecated. Use `ModelV2` instead

For migration from ray 0.x to ray 1.x, ray.rllib.models.Model must be replaced with ray.rllib.models.ModelV2.
Are there any migration guidelines describing how to do this properly?
Thank you.
There are none.
https://github.com/ray-project/ray/issues/29724#issuecomment-1292777342
However, specific questions can be asked on the forum.

scoreManager.explainScore(solution) not working in Optaplanner

in the current Documentation of Optaplanner (7.40.0.Final) it says:
"The easiest way to explain the score during development is to print the return value of explainScore()"
When I create a scoreManager it doesn't have the method explainScore()
How do I get the explanation of the score in the Terminal? Where do I have to call the scoreManager?
I am working with Quarkus and my problem is very similar to the TimeTabling Problem.
Best regards and thank you in advance
Justin
Are you using the version coming with the Quarkus Platform BOM? Because in this case, it's 7.39.0.Final and that could explain your issue.
You can define the version yourself and upgrade to 7.40.0.Final. It might work, Geoffrey would be able to confirm.
He will also be able to tell you if he plans to upgrade Quarkus to 7.40.0.Final for 1.7.
That method was introduce recently. OptaPlanner 7.40.0.Final, the same version as the docs you're reading, definitely has it:
https://github.com/kiegroup/optaplanner/blob/7.40.0.Final/optaplanner-core/src/main/java/org/optaplanner/core/api/score/ScoreManager.java#L81

I can't find a class API DOC reference for tensorflow

I am struggling to find the API for a particular class in tensorflow.
For example, I am interested in finding the specs for this class:
tensorflow.python.framework.ops.EagerTensor
Sorry if this sounds as a stupid question.
Tensorflow is not that well documented yet. The docs are generated from the comments (the project is hosted at GitHub) and in your case, there are none.
For insights like that, you will have to read the source code.

Pointcloud to Model with CGAL complete beginner, Tutourial? Guide or tips?

I've stumbled upon CGAL and it seems amazing.
Anyone know of any simple ways I can test some of it's magic out without knowing any prior C++ or programming? Or a really thorough guide?
Just to get you an understanding of my general tech level(unrelated to CGAL) I know printf.. prints.. stuff.. but I have no idea how to put that into practice. And I've managed to install npm modules by slamming commands into cmd and run a module afterwards.
If there's no easy beginning to get a taste of this, other tips is also welcome if I have to take a longer route to understanding this.
What I want to achive is my input is pointcloud data scans -> magic/CGAL/ -> 3D models is my output
You can try the 3D polyhedron demo that contains most of the functionalities of CGAL.
You can compile it yourself by compiling the code in demo/Polyhedron from a release or use the pre-compiled windows demo available: demo + dlls to be extracted in the directory of the demo.
Also here is a WIP version of a tutorial that should be integrated in the official documentation soon.

Which RPC Library is best and Official for Openerp?

I found some RPC Library (Python) for driving Odoo/OpenERP.
openerplib
oerplib
erppeek
xmlrpclib
odoorpc
Please let me know, which one is Best/Good/Official?
Thanks in advance
openerplib is a PHP library, probably not what you want if you're planning to use Pyhton.
xmlrpclib is Python standard library for XML-RPC. You can perfectly work with it, but it won't be the most pleasant library to work with. See the official docs for more details on it.
The other libraries are wrappers around xmlrpclib.
oerplib and odoorpc are from the same author, and I believe that the former is an older version (pre Odoo rebranding), so you should prefer the later. It is up to date, so it can be an option.
erppeek is up to date and is the project with more more activity and contributors. It also provides an API wrapper, but is build to be a console client for Odoo servers. AFAIK is widely used for that.
My advice it to have a look at the doc of odoorpc and erppeek and pick that one you feel better suited for your needs.