I just finished watching Deep Learning from the Foundations and was excited to try out Swift for Tensorflow. I now it’s early days, but so far I’m having a bad experience in getting it up and running. I’ve tried:
a) Compiling Swift on my Ubuntu 19.04 (as per https://github.com/tensorflow/swift/blob/master/Installation.md)
Discovered it wasn’t compatible with Ubuntu 19 ( as some libs have been deprecated or are different versions). Tried downloading and installing old versions, but it didn’t work.
b) Running the ToolChain (0.4 Release) on Xcode (10.2.1 and 11.0 beta) Playground MacOS 10.14
I get an error saying the toolchain is not compatible, but it does find the Tensorflow module.
run on the command line: export TOOLCHAINS=com.google.swift.20190627
c) Running the jupyter-swift-notebook docker on my Ubuntu (https://github.com/google/swift-jupyter)
A simple print(“hello world”) inside the notebook gives me the
“Exception: Expected value from Int.bitWidth, but got: SuccessWithoutValue()”
run the docker with the --privileged option:
docker run -p 8888:8888 --privileged -v /home/ale/notebooks:/notebooks swift-jupyter
Any help is welcome!