A restart of the terminal session is usually needed to expose the
flight command as it is setup through a profile script, I’ll add a note of that to the documentation - thanks for spotting this!
It looks like the Tensorflow binary is unable to find the example model, judging by the following line in your output:
python: can't open file './models/tutorials/image/mnist/convolutional.py': [Errno 2] No such file or directory
From further investigation it looks like the Tensorflow models repository has been evolving alongside Tensorflow releases. With the example in our documentation using an older version of Tensorflow (1.15.0) and the models repo having modified directory structure for the 2.0+ releases, we’ll need to specifically checkout a compatible release branch of the models repository as follows:
git checkout v1.13.0
After performing the above, the
tutorials directory will now be present in the git repo. If you
cd ~ and run the singularity command again then you should find that the job begins to run.
Let me know how that goes!