Coder Social home page Coder Social logo

googlecloudplatform / dataflow-video-analytics Goto Github PK

View Code? Open in Web Editor NEW
35.0 29.0 30.0 1.27 MB

Video Clip Analytics By Using Dataflow and Video AI For Object Tracking

Java 93.10% Shell 2.73% Python 4.17%
dataflow video analytics mlapi videoai streaming

dataflow-video-analytics's Issues

"Error occurred in the launcher container: Template launch failed. See console logs."

Hi all!

I get an error when trying to run this piece of code in Cloud Shell:

gcloud beta dataflow flex-template run "video-object-tracking" \
--project=${PROJECT} \
--region=${REGION} \
--template-file-gcs-location=gs://${DATAFLOW_TEMPLATE_BUCKET}/dynamic_template_video_analytics.json \
--parameters=<<'EOF'
^~^autoscalingAlgorithm="NONE"~numWorkers=5~maxNumWorkers=5~workerMachineType=n1-highmem-4
  ~inputNotificationSubscription=projects/${PROJECT}/subscriptions/${GCS_NOTIFICATION_SUBSCRIPTION}
  ~outputTopic=projects/${PROJECT}/topics/${OBJECT_DETECTION_TOPIC}
  ~errorTopic=projects/${PROJECT}/topics/${ERROR_TOPIC}
  ~features=OBJECT_TRACKING~entities=window,person~confidenceThreshold=0.9~windowInterval=1
  ~tableReference=${PROJECT}:${BIGQUERY_DATASET}.object_tracking_analysis
  ~streaming=true
EOF

The error in Dataflow:

Error occurred in the launcher container: Template launch failed. See console logs

The error in console logs:
"message":"java failed with exit status 1"

Any ideas where t come from?

Thank you!

SDK is deprecated

This version of the SDK is deprecated and will eventually be no longer supported. [Learn more]

Hi , i am not able to see pipeline in console following above error occured .please help to resolve the issue

Support of Gradle 8.0

I am getting an error in GCP when I try to run,
gradle build
It states that "Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0."
More detailed explanation:
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.4/userguide/upgrading_version_6.html#jcenter_deprecation
at build_k8uv5eskz74bsxzt4rqpyxe1$_run_closure1$_closure3.doCall(/home/cloud_user_p_b99ef5a8/dataflow-video-analytics/build.gradle:22)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

A problem occurred evaluating root project 'dataflow-video-analytics'.

When I run gradle spotlessApply -DmainClass=com.google.solutions.df.video.analytics.VideoAnalyticsPipeline, it gives me an error:

FAILURE: Build failed with an exception.

  • Where:
    Build file '/home/student_00_2f9371f11e09/dataflow-video-analytics/build.gradle' line: 75

  • What went wrong:
    A problem occurred evaluating root project 'dataflow-video-analytics'.

Could not find method compile() for arguments [{group=org.apache.beam, name=beam-sdks-java-core, version=2.23.0}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.