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
!1610
fix subset random sampler error
Merge pull request
!1610
from yanghaitao/yht_subsetrandomsampler_r0.3
tags/v0.3.0-alpha
mindspore-ci-bot
Gitee
6 years ago
parent
ce57e02db3
a379c668f5
commit
9274daec9c
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/samplers.py
+ 1
- 1
mindspore/dataset/engine/samplers.py
View File
@@ -483,7 +483,7 @@ class SubsetRandomSampler(BuiltinSampler):
def get_dataset_size(self):
return len(indices)
return len(
self.
indices)
class WeightedRandomSampler(BuiltinSampler):
Write
Preview
Loading…
Cancel
Save