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
!1609
fix subset random sampler error
Merge pull request
!1609
from yanghaitao/yht_subsetrandomsampler
tags/v0.5.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
21da86b393
2e3e31de90
commit
83b74e4693
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