Lesson 3 In-Class Discussion

Here is Keras

6 Likes

ah helpful. Thanks.

don’t work for me:

ModuleNotFoundError Traceback (most recent call last)
in ()
1 import numpy as np
----> 2 import keras
3 from keras.preprocessing.image import ImageDataGenerator
4 from keras.preprocessing import image
5 from keras.layers import Dropout, Flatten, Dense

ModuleNotFoundError: No module named ‘keras’

but Keras is installed

Make sure you’ve activated the environment.

and i am used the AWS-fastami

Probably you don’t have it. You would also need tensorflow.

yes you are right, thank you

@yinterian, can you turn the mic on for questions? Having a hard time hearing questions

thanks! I will

2 Likes

Agreed

Should we use conda install rather than pip install for tensorflow and keras?

What are the steps to get the predictions that go into the submission file in the fast library?

if you want to install tensorflow and keras

pip install tensorflow-gpu keras

4 Likes

Submissions to Kaggle?

Can’t see the the keras or the quick dogs cats file after doing a git pull.

If using Anaconda, we should use conda install shouldn’t we?

https://anaconda.org/anaconda/tensorflow-gpu

A template is mentioned up top:

Yes, I tried specifying the test directory, but I was having trouble getting the list of predictions and set up the file names.

Looks like he is answering the question.

1 Like

data.test_ds.fnames gives you the names of the files in the test in the same order as the predictions.

1 Like