Giter Site home page Giter Site logo

ibm / video-summarizer-using-watson Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 2.0 39.54 MB

In this code pattern you will learn about building a robust solution for analyzing the video or audio files to quickly generate meaningful summary & insights using different Deep learning and Machine learning approaches. You will also learn about improving the readibility of the transcripts with IBM Watson Speech to Text speech recognition models, how to optimize the parameteres, train different speech to text models and learn about different state of the art language models used for summarizing the text.

Home Page: https://ibm.github.io/video-summarizer-using-watson/

License: Apache License 2.0

Dockerfile 0.11% Jupyter Notebook 44.80% Procfile 0.01% Python 9.13% CSS 0.10% JavaScript 8.43% HTML 37.42%
flask-application ibm ibm-watson openshift python3 watson-speech-to-text

video-summarizer-using-watson's Issues

Failed to Load Tokenizers

Hi All,

I'm trying to run this locally. Right after I run docker build -t video-summarizer-using-watson:v1.0 . I'm having an issue that's been blocking me. I have Python3 installed version 3.11.1, pip version 22.3.1, and yet I'm getting an error that my tokenizers won't build due to a rust compilation issue. I've also installed rustup as per the error handling, but that didn't solve the issue.

Any advice on how to move forward?

My console is showing me this error:

`#12 30.39 copying py_src/tokenizers/decoders/init.pyi -> build/lib.linux-aarch64-cpython-39/tokenizers/decoders
#12 30.39 copying py_src/tokenizers/normalizers/init.pyi -> build/lib.linux-aarch64-cpython-39/tokenizers/normalizers
#12 30.39 copying py_src/tokenizers/pre_tokenizers/init.pyi -> build/lib.linux-aarch64-cpython-39/tokenizers/pre_tokenizers
#12 30.39 copying py_src/tokenizers/processors/init.pyi -> build/lib.linux-aarch64-cpython-39/tokenizers/processors
#12 30.39 copying py_src/tokenizers/trainers/init.pyi -> build/lib.linux-aarch64-cpython-39/tokenizers/trainers
#12 30.39 copying py_src/tokenizers/tools/visualizer-styles.css -> build/lib.linux-aarch64-cpython-39/tokenizers/tools
#12 30.39 running build_ext
#12 30.39 running build_rust
#12 30.39 error: can't find Rust compiler
#12 30.39
#12 30.39 If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
#12 30.39
#12 30.39 To update pip, run:
#12 30.39
#12 30.39 pip install --upgrade pip
#12 30.39
#12 30.39 and then retry package installation.
#12 30.39
#12 30.39 If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
#12 30.39 [end of output]
#12 30.39
#12 30.39 note: This error originates from a subprocess, and is likely not a problem with pip.
#12 30.39 ERROR: Failed building wheel for tokenizers
#12 30.39 Building wheel for sacremoses (setup.py): started
#12 30.62 Building wheel for sacremoses (setup.py): finished with status 'done'
#12 30.62 Created wheel for sacremoses: filename=sacremoses-0.0.53-py3-none-any.whl size=895254 sha256=b40b5cb73859638852d015475cb937ab832946ee01d74ec34966b764b2728baf
#12 30.62 Stored in directory: /root/.cache/pip/wheels/42/79/78/5ad3b042cb2d97c294535162cdbaf9b167e3b186eae55ab72d
#12 30.62 Successfully built moviepy ibm-watson gensim keybert ibm-cloud-sdk-core sentence-transformers sacremoses
#12 30.62 Failed to build tokenizers
#12 30.62 ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

executor failed running [/bin/sh -c python3 -m pip install -r requirements.txt]: exit code: 1`

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.