tensorflow / swift

Swift for TensorFlow
https://tensorflow.org/swift
Apache License 2.0
6.12k stars 608 forks source link

Introducing X10 tutorial broken by upgrade to swift-models v0.10 (Batcher -> Epochs) #492

Closed mikowals closed 4 years ago

mikowals commented 4 years ago

The training code fails because it expects Batcher style Datasets but swift-models v0.10 provides Epochs Datasets.

I tested just downgrading the swift-models version to v0.9 and that runs fine. I expect rewriting to expect Epochs Datasets would also fix.

I will try to rewriting with Epochs and submit a pull request.