How to check keras version in anaconda

Ads
 

How to check keras version in anaconda

Hi,

I have installed anaconda python for machine learning in my computer. Now I want to know which version of keras is installed on my system.

What is the command to find out version of keras library installed?

How to check keras version in anaconda?

Thanks

View Answers

February 16, 2019 at 8:53 AM

Hi,

Keras is powerful machine learning library which comes with many pre-developed machine learning modes. These models can be used by developers to quickly develop intelligent deep learning applications.

You can check keras version by running following command on terminal:

python -c 'import keras; print(keras.__version__)'

Above command will print keras version and out should look like below output:

(tf12) [email protected]:~$ python -c 'import keras; print(keras.__version__)'
Using TensorFlow backend.
2.0.0

If you are in python terminal then its can be also checked easily.

In Python terminal with following commands:

python
import keras
print(keras.__version__)

Out of above command:

(tf12) [email protected]:~$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> import keras
Using TensorFlow backend.

>>> print(keras.__version__)
2.0.0
>>>

Thanks


February 16, 2019 at 9:43 PM

Hi,

Here is output:

Check more tutorials at:

Python Tutorials - Learn and Master one of most popular programming language

Thanks

Ads









Related Tutorials/Questions & Answers:
How to check spark version
How to check spark version  Hi, How can I find which version of Apache Spark is running on my environment? How to check spark version? Thanks... the command: spark-shell It will display the version as shown below
How to check Hadoop version in Ubuntu?
How to check Hadoop version in Ubuntu?  Hi, I am trying various... to Hadoop cluster through ssh terminal. How to check Hadoop version in Ubuntu? Thanks   Hi, Its easy to check the version of Hadoop in Ubuntu. type
Advertisements
Installing TensorFlow on windows with Anaconda
TensorFlow CPU version. Anaconda is open source feature rich distribution of python... TensorFlow on windows with Anaconda. Check more tutorials of TensorFlow...Steps of Installing TensorFlow on windows with Anaconda In this tutorial we
how to insert check box
how to insert check box   how to insert check box into jtable row in swing
How to check a checkbox - Struts
How to check a checkbox  Hello Community, How can i check a checkbox defined with tags. with plain html, the tag checks the box. with the other tags i am getting an error that the property "checked" is not defined. Can someone
How to check if a pid is alive?
How to check if a pid is alive?  Hi, I have a process which is running in background and I want a simple command to find if the process id still running? How to check if a pid is alive? Thanks   HI, You can use
How to check no records - JSP-Servlet
How to check no records  Hi all, I am developing an onlineshopping project, in that how i have 2 check no records. I saw an answer....... At first when a user registers means, his/her cart is empty na... how
how to check a remote applications validity
how to check a remote applications validity  i am developing a network application to avoid unauthorized access to a port .. for that i need to get the application id . how to get the appln id of an appln. or is there any way
How to check whether database exists?
How to check whether database exists?  Hi, I have to create... to creating the database, i want to check whether database exists or not? How can i do this check. can any one help me on this. Please find thesample code
How to check a file exists or not in java.
Description: This example demonstrate how to check a file exits at a given path or not.  The method isFile() of the File class check for its existence. As in the file path we see '\' (backslash) that is used to denote
How to check a file is hidden or not in java
Description: This example demonstrate how to check a file is hidden at a given path or not.  The method isHidden() of the File class check for its hidden property of a file. As in the file path we see '\' (backslash
How to check text in textbox using JavaScript
How to check text in textbox using JavaScript  How to check text... qestion is that is it possible to check text feilds for text or null value. I want... me.   JavaScript validation example to check text in textfeild <
how to check and print the no of times an integer is repeated in an array
how to check and print the no of times an integer is repeated in an array  how to check and print the no of times an integer is repeated in an array??? suppose my input is 2 4 2 5 2 4 3 4 5 2 then my output should be 2-4
How to check if a string contains a substring in iOS?
on the 'Check If Exists' button application will find the string and show... is the video explanation of the tutorial which teaches you how to run the example code... have learned how to find it a string contains in the source string. Download
how to remove spell check in flex when button is clicked
how to remove spell check in flex when button is clicked  how to remove spell check when button is clicked in rich text editor control
check
updated"); will the above code check if the user has entered value for empcode
How to check if a file is read-only in java
How to check if a file is read-only in java A read-only file is any file... setReadOnly() method and can check this using canWrite() method of File class...;  }   } }   Code to check read only
How to check long buffer is direct or not in java.
How to check long buffer is direct or not in java. In this tutorial, we will discuss how to check long buffer is direct or not in java. LongBuffer API. The java.nio.LongBuffer class extends java.nio.Buffer class. It provides
How to Check Markup in PHP File from Command Line
How to Check Markup in PHP File from Command Line  Check Markup in PHP File from Command Line   PHP has a feature that allowed you to check... try this: http://www.phpzag.com/check-markup-in-php-file-from-command-line
How to put text file numbers to array and check the position of numbers?
How to put text file numbers to array and check the position of numbers?   I have numbers in text file data.txt 12 9 8 3 1
how to check particular value is avilable in hashmap - Java Beginners
how to check particular value is avilable in hashmap  Hi friends, i created a hashmap,in that hashmap key is tagginglist and value is tagsname,these tags is in the form arraylist.then how i will check particular tags
how to check username & password from database using jsp
how to check username & password from database using jsp  Hello, I have created 1 html page which contain username, password & submit button.... name is amit and password is ddave. so hw could i check whether the username
How to Check Automorphic Number using Java Program
How to Check Automorphic Number using Java Program Automorphic numbers are the numbers whose square ends with the number itself or you can say it is a number... of number 6 at the end. Here we are going to check whether the number entered
how to check dates while retrieving data from database
how to check dates while retrieving data from database  i want to update database record based on delivery date i have tried this query but it wont work b="update deliveryorder set prtnm='"+arr[1]+"',stn='"+arr[0]+"',sbston
How to enter elemets in a hashmap and check for the existence of a particular key?
How to enter elemets in a hashmap and check for the existence of a particular key?  Hi, I am trying to read a csv file and storing its contents in a hash map and checking the existence of a particular key in the hash map. Here
How to check for Empty textboxed and fill it with a value on a button click
How to check for Empty textboxed and fill it with a value on a button... should check if it is empty and should get added to the second target text box... is a code which check for Empty textbox and fill it with a value on a button
check for errors
check for errors  How can I check for errors
How to check if a string exits in a string script in Java script?
How to check if a string exits in a string script in Java script? Java... computer science. Here is the video tutorial of "How to check if a string exists in a string in JavaScript?": In this video tutorial we will be taught how
Check if the directory is empty or not
Check if the directory is empty or not In this section, you will learn how to check if the directory is empty or not. Java IO package works with both files and directories. Here we are going to check whether directory is empty
password check
password check  how to check sighup passowrd and login password
Creating Check Box in Java Swing
Creating Check Box in Java Swing       This section illustrates you how to create a Check Box component in Java Swing. In this section, you can learn simply creating the Check Box

Ads