-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memap dataset for multimodal data #47
Draft
spravil
wants to merge
17
commits into
main
Choose a base branch
from
feat/multimodal_mem_map_dataset
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+835
−253
Draft
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ac6c94c
refactor: Rewrite class resolver register to be independent of specif…
19a1d85
feat: Support multiple modalities in MemMapDataset
307733b
test: Adapt test to new memory format of MemMapDataset and implement …
1feaaf2
fix: formatting
thomaschhh a5ae389
feat: add audio codec WIP
thomaschhh 0af4540
feat: add missing fixture
thomaschhh 49d9c1c
fix: audio codec
220493a
refactor: clean-up test fixtures
thomaschhh 7191ba1
refactor: run pre-commit hooks
70747f7
fix: add pillow to requirements
19e95d9
refactor: fix type
8945b0c
chore: remove unused feature
thomaschhh 16d0fb0
refactor: TorchaudioAudioCodec init
thomaschhh ccce2ba
fix: add soundfile to requirements for audio processing
340fab5
fix: manually resolve config type for codecs to avoid pydantic parsin…
fdb0815
feat: Merge branch 'feat/audio-codec' into feat/multimodal_mem_map_da…
3a16d6e
fix: fixed issue that discards all-zero bytes at the end of a read op…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unsure if this
index
is correct. I think it should beindex= [(16,24), (40,40), (80,12), (92, 4)]
. Maybe I have not understood the concept. Could you please clarify @ndoll1998There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The specific values of the index shouldn't matter as long as they follow the schema (begin, length). Both the index lists do so.
Take for example the following index item (16, 24). This index refers to the sequence [0, 1, 2, 3, 4, 5] as it begins at the 16th byte right after the header bytes and has a length of 24 bytes <=> 6 integer values.
Given that this is just a dummy example, the specific sequences in the dataset are not of interest.