0

I am trying to use Amazon AWS instance to train my network. To run it under keras, I need to run

source activate tensorflow_p36

first and it works. Unfortunately, if I do the same from under tmux, it says it can't find keras module.

Why and how to overcome?

Dims
  • 47,675
  • 117
  • 331
  • 600
  • [This](https://stackoverflow.com/questions/8645053/how-do-i-start-tmux-with-my-current-environment) might solve your issue – aerijman Jan 17 '20 at 16:31

1 Answers1

1

You can refer to the solution suggested in TMUX Session Won't Import Python Module. If you start the tmux session first and then import tensorflow it should work. At least my issue was resolved when I used this sequence other wise I got an error saying tensorflow module was not found.

beeprogrammer
  • 581
  • 1
  • 7
  • 18