Skip to content

Python API - copy dataset #1190

Answered by vinnamkim
smidm asked this question in Q&A
Nov 10, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Hi @smidm, You can use deepcopy such as

import datumaro as dm
from copy import deepcopy

dataset = dm.Dataset.import_from(...)
cloned = deepcopy(dataset)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@smidm
Comment options

@vinnamkim
Comment options

Answer selected by smidm

This comment was marked as off-topic.

@smidm
Comment options

@vinnamkim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants