This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!3624
fix GeneratorDataset time out
Merge pull request
!3624
from yanghaitao/yht_generator_timeout
tags/v0.7.0-beta
mindspore-ci-bot
Gitee
6 years ago
parent
4834a6b347
5c9b0657df
commit
9ccc6889eb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/dataset/engine/datasets.py
+ 1
- 1
mindspore/dataset/engine/datasets.py
View File
@@ -3118,7 +3118,7 @@ class _GeneratorWorker(multiprocessing.Process):
"""
Get function for worker result queue. Block with timeout.
"""
return self.res_queue.get(
timeout=5
)
return self.res_queue.get()
def __del__(self):
self.terminate()
Write
Preview
Loading…
Cancel
Save