Code Monkey home page Code Monkey logo

Comments (9)

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

yazidoudou18 avatar yazidoudou18 commented on July 16, 2024

Thanks for responding. I just tried the following v2e command and still gives error.

The Final v2e command:
v2e -i /content/v2e_tutorial_video.avi -o /content/v2e-output --overwrite --unique_output_folder false --dvs_h5 events.aedat --dvs_aedat2 None --dvs_text None --no_preview --dvs_exposure duration .033 --input_frame_rate 30 --input_slowmotion_factor 1 --disable_slomo --auto_timestamp_resolution false --pos_thres 0.2 --neg_thres 0.2 --sigma_thres 0.03 --cutoff_hz 30 --leak_rate_hz 0.1 --shot_noise_rate_hz 5 --dvs346

**ERROR:**v2ecore.emulator:Output file exception "Unable to create file (unable to lock file, errno = 11, error message = 'Resource temporarily unavailable')" (maybe you need to specify a supported DVS camera type?)
Traceback (most recent call last):
File "/usr/local/bin/v2e", line 8, in
sys.exit(main())
File "/usr/local/bin/v2e.py", line 530, in main
emulator = EventEmulator(
File "/usr/local/lib/python3.8/dist-packages/v2ecore/emulator.py", line 301, in init
raise e
File "/usr/local/lib/python3.8/dist-packages/v2ecore/emulator.py", line 274, in init
self.dvs_h5 = h5py.File(path, "w")
File "/usr/local/lib/python3.8/dist-packages/h5py/_hl/files.py", line 424, in init
fid = make_fid(name, mode, userblock_size,
File "/usr/local/lib/python3.8/dist-packages/h5py/_hl/files.py", line 196, in make_fid
fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 116, in h5py.h5f.create
OSError: Unable to create file (unable to lock file, errno = 11, error message = 'Resource temporarily unavailable')

from v2e.

duguyue100 avatar duguyue100 commented on July 16, 2024

@yazidoudou18 feels like the HDF5 is trying to create a file but it couldn't.

Can you try a dummy example something like

import h5py

file = h5py.File("my_new_file", "w")

and see if this triggers any errors. Also, the path of the result folder, does it allow you to write files?

from v2e.

yazidoudou18 avatar yazidoudou18 commented on July 16, 2024

@duguyue100 The example was able to produce a file without triggering any errors. However, the 'final_v2e_command' was not able to output any files and caused the same errors.

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

yazidoudou18 avatar yazidoudou18 commented on July 16, 2024

Thank you, Tobi. I have not yet set up the v2e environment. All the errors I have encountered so far are based on using v2e in Google Colab.

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

I just tried the below command and it run to completion with the significant warning that the IIR lowpass filter is definitely not accurate for default cutoff of 300 Hz

v2e -i input/tennis.mov -o output/tennis --overwrite --unique_output_folder false --dvs_h5 events.h5 --dvs_aedat2 None --dvs_text None --no_preview --dvs_exposure duration .033 --input_frame_rate 30 --input_slowmotion_factor 1 --disable_slomo --auto_timestamp_resolution false --pos_thres 0.2 --neg_thres 0.2 --sigma_thres 0.03 --cutoff_hz 30 --leak_rate_hz 0.1 --shot_noise_rate_hz 5 --dvs346

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

Note that this was in the cloned local v2e env, not the colab workspace.

from v2e.

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.