Coder Social home page Coder Social logo

Comments (7)

kjsr7 avatar kjsr7 commented on July 3, 2024 2

https://github.com/facebook/C3D

from anomalydetectioncvpr2018.

kjsr7 avatar kjsr7 commented on July 3, 2024 1

@Malathi15, you can use this guide to extract features.

from anomalydetectioncvpr2018.

Malathi15 avatar Malathi15 commented on July 3, 2024

Hi @kjsr7 , I want to test my own video with pretrain model, but I don't know how to use C3D? they didn't gave any processor!

from anomalydetectioncvpr2018.

roggerfq avatar roggerfq commented on July 3, 2024

Hi @kjsr7 , I want to test my own video with pretrain model, but I don't know how to use C3D? they didn't gave any processor!

Hello, this algorithm is composed of two neural networks: a convolutional network and a fully-contected network. The convolutional network extracts the features and stores them in a binary format .fc6-1 (fc6 refers to the layer whose name is fc6 in the .prototext file, this layer has an output of 4096 components). Then use the "Save_C3DFeatures_32Segments.m" script to convert the .fc6-1 features to a text file. The name of this file will be name_video_C.txt. Finally, you must use the "Demo_GUI.py" script to read the text file and in this way you'll get a graph of anomalia versus time. If you have a doubt in the process you can write me to [email protected]

from anomalydetectioncvpr2018.

Malathi15 avatar Malathi15 commented on July 3, 2024

Hi @roggerfq @kjsr7 I refered this link. When I tried to extract the videos I got this error

python extract_C3D_feature.py input/avi/v_BaseballPitch_g01_c01.avi output
[Info] trained_model=C:\Users\malat\Desktop\C3D-master\C3D-v1.0\examples\c3d_feature_extraction\conv3d_deepnetA_sport1m_iter_1900000 found. Good to go!
[Info] num_frames=107, fps=29.97002997002997
Traceback (most recent call last):
  File "extract_C3D_feature.py", line 806, in <module>
    main()
  File "extract_C3D_feature.py", line 727, in main
    generate_feature_prototxt(feature_prototxt, input_file)
  File "extract_C3D_feature.py", line 636, in generate_feature_prototxt
    with open(out_file, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp\\feature_extraction.prototxt'

from anomalydetectioncvpr2018.

abdkumar avatar abdkumar commented on July 3, 2024

@Malathi15, you can use this guide to extract features.

But I didnt understand that file, how to download C3D model and how to test it. please help

from anomalydetectioncvpr2018.

roggerfq avatar roggerfq commented on July 3, 2024

@Malathi15, you can use this guide to extract features.

But I didnt understand that file, how to download C3D model and how to test it. please help

C3D is based on caffe library and their directory structure, installation and the way of use are the same. I can give you some links where it is explained step by step installation process. By following these steps, I was able to install C3D correctly.

First of all I recommend you Linux operating system.

Download C3D repository from:
https://github.com/facebook/C3D

Follow this installation process:
https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide
https://chunml.github.io/ChunML.github.io/project/Installing-Caffe-Ubuntu/

Next, Then run a test example following the guide: http://vlg.cs.dartmouth.edu/c3d/

from anomalydetectioncvpr2018.

Related Issues (20)

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.