epic-kitchens / epic-kitchens-55-lib Goto Github PK
View Code? Open in Web Editor NEW:coffee: EPIC-KITCHENS-55 dataset python library
Home Page: https://epic-kitchens.readthedocs.io/en/latest/index.html
:coffee: EPIC-KITCHENS-55 dataset python library
Home Page: https://epic-kitchens.readthedocs.io/en/latest/index.html
Is there any example code to gulp dataset with manual downloading.
For example, i have downloaded all the tar files for rgb and flow.
I have also extracted them into frames. But I don't know how to gulp it.
Hi,
I've use the following method to extract optical flow and RGB images:
$ python -m epic_kitchens.preprocessing.split_segments \
P01 \
root_dir/P01 \
output_dir/P01 \
EPIC_train_action_labels.pkl \
flow \
--fps 60 \
--frame-format 'frame_%010d.jpg'
But it seems that optical flow images are extracted every two RGB images. Is it possible to extract optical flow image for every RGB image? Thank you!
Hello,
Would it make sense to Gulp audio too ?
I'm doing it, but I wonder if there is a specific reason not to do it...
We need to provide support for users to compute metrics for the EPIC-Kitchens 100 challenges.
Such that both EK-55 and EK-100 can be used throughout the lib
Hi,
Please correct me if im wrong, but currently there isnt any support for object detection experiments in the library right?
Is there a particular reason for which the default data_dir
isn't a hidden folder?
It seems a bit intrusive to create a visible folder in the $HOME of the user. Other libraries and apps (PyTorch, Jupyter, etc.) use the hidden folder pattern.
I do appreciate that we can set the data_dir
.
BTW, thanks for providing this library to easily interact with the dataset.
The frame iterators in each modality only go up to the stop_frame - 1, these should probably be inclusive bounds i.e. range(start_frame, stop_frame - 1)
.
https://github.com/epic-kitchens/epic-lib/blob/master/epic_kitchens/video.py#L41
https://github.com/epic-kitchens/epic-lib/blob/master/epic_kitchens/video.py#L54
Spotted by @ekazakos
When importing epic_kitchens.gulp.visualisation, I get an error message :
imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.'
but installing this library does not help.
It looks that you are depending on an earlier version of imageio, like the 2.4.1
Maybe requirements.txt should be edited accordingly
In [30]: import epic_kitchens.gulp.visualisation
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-30-8a3f6f3f60a0> in <module>()
----> 1 import epic_kitchens.gulp.visualisation
/usr/local/lib/python3.5/dist-packages/epic_kitchens/gulp/visualisation.py in <module>()
2 import numpy as np
3 from abc import ABC
----> 4 from moviepy.editor import ImageSequenceClip
5 from moviepy.video.io.html_tools import ipython_display
6 from typing import List, Union, Tuple
/usr/local/lib/python3.5/dist-packages/moviepy/editor.py in <module>()
24 # Checks to see if the user has set a place for their own version of ffmpeg
25 if os.getenv('FFMPEG_BINARY', 'ffmpeg-imageio') == 'ffmpeg-imageio':
---> 26 imageio.plugins.ffmpeg.download()
27
28 # Clips
/usr/local/lib/python3.5/dist-packages/imageio/plugins/ffmpeg.py in download(directory, force_download)
38 def download(directory=None, force_download=False): # pragma: no cover
39 raise RuntimeError(
---> 40 "imageio.ffmpeg.download() has been deprecated. "
41 "Use 'pip install imageio-ffmpeg' instead.'"
42 )
RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.'
to 'solve' this I installed the aforementioned version:
sudo pip3 install imageio==2.4.1
Or at least find a way to unit test it, although might not be worth it due to the complexities of filesystems.
small bug in epic_kitchens.time.flow_frame_count(start_frame, stride, dilation)
if start_frame == 1
it will return -1
Provide methods to compute:
Given a groundtruth data frame containing the correct verb, noun, and action for a given action segment (identified by UID)
How did you calculate the top-5 accuracy for "action" which is a pair of (noun, verb)?
Support downloading for the new EPIC-Kitchens 100 annotations
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.