-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Thanks for putting this library together, we're looking at using it in the near term to perform image loading and saving within Swift for TensorFlow's models (pending PR for this ).
One issue we encountered is that if you attempt to build the current version of the library on macOS via SwiftPM, you will hit a version mismatch. By default, SwiftPM targets macOS 10.10, but we needed to set a minimum macOS version of 10.13 for Swift for TensorFlow. This causes a problem when building with one of our toolchains on macOS, triggering an error here.
To enable the import of TensorFlow in this project on macOS, I believe you'll need to add
platforms: [
.macOS(.v10_13),
],just after the package name in Package.swift. One downside of this is that it will limit your backwards compatibility on macOS to 10.13.
In the meantime, I've pegged our import of Swim to 3.6.1, the release before the TensorFlow extensions were added. With that, we can use this framework, but I wanted to point this out for future commits.