Code Monkey home page Code Monkey logo

doom-gameplay-dataset's People

Contributors

thavlik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ahyani2901

doom-gameplay-dataset's Issues

DECORDError

I am trying to use the given decord snippet and I get the error:


DECORDError Traceback (most recent call last)
in
16 num_frames = 1 # Likely (but not always) synonymous with batch_size
17 batch_shape = (num_frames, width, height, 3)
---> 18 vl = VideoLoader(video_files,
19 ctx=[gpu(0)],
20 shape=batch_shape,

D:\Workspace\Anaconda\envs\PyTorch\lib\site-packages\decord\video_loader.py in init(self, uris, ctx, shape, interval, skip, shuffle, prefetch)
52 assert isinstance(shape, (list, tuple))
53 assert len(shape) == 4, "expected shape: [bs, height, width, 3], given {}".format(shape)
---> 54 self._handle = _CAPI_VideoLoaderGetVideoLoader(
55 uri, device_types, device_ids, shape[0], shape[1], shape[2], shape[3], interval, skip, shuffle, prefetch)
56 assert self._handle is not None

D:\Workspace\Anaconda\envs\PyTorch\lib\site-packages\decord_ffi_ctypes\function.py in call(self, *args)
171 ret_val = DECORDValue()
172 ret_tcode = ctypes.c_int()
--> 173 check_call(_LIB.DECORDFuncCall(
174 self.handle, values, tcodes, ctypes.c_int(num_args),
175 ctypes.byref(ret_val), ctypes.byref(ret_tcode)))

D:\Workspace\Anaconda\envs\PyTorch\lib\site-packages\decord_ffi\base.py in check_call(ret)
76 err_str = err_str.split('Stack trace')[0].strip()
77 raise DECORDLimitReachedError(err_str)
---> 78 raise DECORDError(err_str)
79
80

DECORDError: [23:35:11] D:\a\decord\decord\src\video\video_loader.cc:52: Check failed: key_indices.size() > 0 (0 vs. 0) Error getting key frame info from _9zaLSmRgGc000.mp4

what am I doing wrong?

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.