Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
306 views
in Technique[技术] by (71.8m points)

tensorflow - 如何从各种数据集中生成每个批次(How can I generate each batch from various datasets)

I'm trying to build up my batches by various datasets in TensorFlow.

(我正在尝试通过TensorFlow中的各种数据集构建批次。)

For example, I wish each of my batch to have two samples from dataset A and another two samples from dataset B.

(例如,我希望我的每个批次都有来自数据集A的两个样本和来自数据集B的另外两个样本。)

Can anyone please tell me how to implement this?

(谁能告诉我如何实现这一目标?)

Thanks a lot

(非常感谢)

  ask by MrShower translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...