FIRST-Tech-Challenge / fmltc

FIRST Machine Learning Toolchain
Other
38 stars 14 forks source link

deploy_cloud_function.sh Failed #320

Open Waterloo-Robotics-Team opened 8 months ago

Waterloo-Robotics-Team commented 8 months ago

After following the steps exactly, I got the following error:

ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: found incompatible dependencies: "flask 2.2.5 has requirement Werkzeug>=2.2.2, but you have werkzeug 2.0.1."; Error ID: 78df1cfa
~/fmltc

Any idea how to fix this?

texasdiaz commented 8 months ago

Unfortunately this is just the first of many issues you're going to have trying to deploy an fmltc project at the moment. Google is in the process of deprecating all of the APIs and services that we use, and so until we update to the new API you're not going to be able to get fmltc running. I recommend just using the team-provided time that the FTC instance provides. You get 10 hours, which is good for at least 6 good models. If you have questions or would like to get an opinion/review on your training set before you "pull the trigger" and use your training time, just ask.

-Danny

Waterloo-Robotics-Team commented 8 months ago

How do I do that?

cmacfarl commented 8 months ago

How do I do that?

Start here: https://ftc-docs.firstinspires.org/en/latest/ftc_ml/

Then if you have specific questions about the process or the tool post a question over on https://ftc-community.firstinspires.org

reslip1 commented 5 months ago

Any ETA on a fix for this? I am running into the same issue due to dependencies with the deploy_cloud_function.sh

texasdiaz commented 5 months ago

The ETA is likely going to be sometime in July.