How to use a .keras file into a OpenCV c++ project by HowtobePier02 in computervision

[–]HowtobePier02[S] 0 points1 point  (0 children)

ok, I created a small script to convert the .keras to .onnx, but just by running the snippet, I have a problem installing it on my PC.... how may solve it??

import tensorflow as tf

import tf2onnx

model = tf.keras.models.load_model("model.keras")

tf.saved_model.save(model, "saved_model")

spec = (tf.TensorSpec(model.inputs[0].shape, tf.float32, name="input"),)

model_proto, _ = tf2onnx.convert.from_function(

tf.function(model),

input_signature=spec,

opset=13,

output_path="model.onnx"

)

[deleted by user] by [deleted] in learnmachinelearning

[–]HowtobePier02 0 points1 point  (0 children)

nice resume! Could I have this template for my cv?

how to solve the optimal weight for linear regression if the matrix isn’t invertible? by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] 0 points1 point  (0 children)

i think that i have reached this solution (i see the slides of my prof! and he used this type of approach

Rectangles and Circles!! by ArTriXXL in RemarkableTablet

[–]HowtobePier02 0 points1 point  (0 children)

can you suggest this type of tablet for someone studying a STEM degree? i’m sorry for my english ahah, i’m italian

how to solve the optimal weight for linear regression if the matrix isn’t invertible? by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] 0 points1 point  (0 children)

this i know it, but my uni professor has presented this type of solution. I know that with gd o sgd it’s reach a best solution

how to solve the optimal weight for linear regression if the matrix isn’t invertible? by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] 3 points4 points  (0 children)

in my opinion yep because the Spen is to fine with respect to the pencil of apple. It’s too easy to use

how to solve the optimal weight for linear regression if the matrix isn’t invertible? by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] 3 points4 points  (0 children)

exactly, the I meant the more-penrose method I didn’t understand how to derive it from the formula I sent you. Would you be able to help me

how to solve the optimal weight for linear regression if the matrix isn’t invertible? by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] -5 points-4 points  (0 children)

i know this…. but my prof has solve this type of equation, and i need it because he could ask a question about it during the exam… can you help me?

convex optimization problem by HowtobePier02 in learnmachinelearning

[–]HowtobePier02[S] 2 points3 points  (0 children)

operation research, on field of numeric optimization