Cannot create a dataset from current task
See original GitHub issueHi everyone,
I’m currently facing a problem while creating a dataset. I run the following code and it cannot pass Dataset.create
.
from clearml import Task
from clearml import Dataset
Task.init('Test', 'test')
Dataset.create(use_current_task=True)
# Adding files here
Traceback (most recent call last):
File "test.py", line 8, in <module>
Dataset.create(use_current_task=False)
File "/home/tronglehuu/Programs/miniconda3/envs/clearml_test/lib/python3.8/site-packages/clearml/datasets/dataset.py", line 1153, in create
instance = cls(_private=cls.__private_magic,
File "/home/tronglehuu/Programs/miniconda3/envs/clearml_test/lib/python3.8/site-packages/clearml/datasets/dataset.py", line 218, in __init__
_, latest_version = self._get_dataset_id_by_version(self.project, self.name)
File "/home/tronglehuu/Programs/miniconda3/envs/clearml_test/lib/python3.8/site-packages/clearml/datasets/dataset.py", line 2884, in _get_dataset_id_by_version
datasets = Task._query_tasks(
File "/home/tronglehuu/Programs/miniconda3/envs/clearml_test/lib/python3.8/site-packages/clearml/task.py", line 3855, in _query_tasks
project = get_single_result(entity='project', query=name, results=res.response.projects)
File "/home/tronglehuu/Programs/miniconda3/envs/clearml_test/lib/python3.8/site-packages/clearml/backend_interface/util.py", line 146, in get_single_result
raise ValueError('No {entity}s found when searching for `{query}`'.format(**locals()))
ValueError: No projects found when searching for `Test/.datasets/`
I have created a dataset successfully before but now I cannot. It may be due to upgrading ClearML Server version, I’m not sure. I think this is a bug, isn’t it? Thank you for any help!
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
The report server cannot process the report or shared dataset
When I create a remote ssrs and redply the project on server, I change manually the shared datasource. Like I use a shared...
Read more >A job fails — Dataiku DSS 7.0 documentation
If this error appears, it means that one of the source datasets required for running this job was not usable, which can mean:...
Read more >Solved: Data Refresh Issues - Cannot create process.
Solved: Hi All, I want to refresh a report with Excel-data. On three computers it works fine. On one it gives an error...
Read more >Create Data Assets - Azure Machine Learning - Microsoft Learn
In this article, you learn how to create a data asset in Azure Machine Learning. By creating a data asset, you create a...
Read more >Creating a task - AWS Database Migration Service
This process is the Migrate existing data option in the AWS Management Console and is called Full ... You can't change this name...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @HeleneFabia @tronglh241 @AH-Merii! This issue was fixed on version
1.6.3
. Please install the latest ClearML SDK version,Dataset.create(use_current_task=True)
should now work@AH-Merii @tronglh241 Thank you for reporting this. This is a bug in ClearML version
>1.6.0
. We will soon have a fix.