Giter Club home page Giter Club logo

dlcovid19's People

Contributors

dheerajrathee avatar theclassofai avatar

Stargazers

 avatar

Watchers

 avatar

dlcovid19's Issues

Trying to run the code but it gives the error messages bellow.

In the Create and Compile the Model

AttributeError Traceback (most recent call last)
in ()
19 from keras import optimizers
20 model.compile(loss='binary_crossentropy',
---> 21 optimizer=optimizers.RMSprop(lr=1e-4),
22 metrics=['acc'])

AttributeError: module 'keras.optimizers' has no attribute 'RMSprop'

I tired to fix this with optimizer=keras.optimizers.RMSprop(lr=1e-4), and it did finish running the cell but then when I try Fit the model there happens this error:

Epoch 1/30
16/100 [===>..........................] - ETA: 21s - loss: 1.0884 - acc: 0.5800WARNING:tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least steps_per_epoch * epochs batches (in this case, 3000 batches). You may need to use the repeat() function when building your dataset.
WARNING:tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least steps_per_epoch * epochs batches (in this case, 10 batches). You may need to use the repeat() function when building your dataset.
100/100 [==============================] - 5s 46ms/step - loss: 1.0884 - acc: 0.5800 - val_loss: 0.6863 - val_acc: 0.6200

If the values of steps_per_epoch < 25 on the implementation without dropout it works and on the one with dropout it work with values of steps_per_epoch < 16.
I also followed the youtube video example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.