Hands On with TensorFlow

You are currently auditing this course.
1 / 31

Introduction to Deep Learning


Slides


No hints are availble for this assesment

Answer is not availble for this assesment

Please login to comment

45 Comments

This comment has been removed.

How to upgrade my python 2.7.3.version to python 3 in terminal of Cloudxlab

  Upvote    Share

This comment has been removed.

Hi,

I have tried a lot intalling tensorflow on my computer, but in the last when I use

"import tensorflow as tf"

I get a msg that some module is not there. I tried following commands on Anaconda prompt:

conda create -n py38 python=3.8 anaconda

activate py38

python

pip install tensorflow

After above commands, tensorflow is shown to be installed successfully. but when I use:

import tensorflow

there is an error msg. 

Plz help...

  Upvote    Share

Hi,

Sometimes you will have to restart your computer. You could CloudxLab anyway.

Thanks.

  Upvote    Share

Hi

When i gave command "  import tensorflow" in web console, the error was

Also as usual jupyter is not getting connected at any point of time as mentioned earlier.


Request your help for accessing the lab and doing the assement


Regards

Meena Kumar

 

  Upvote    Share

Hi,

You need to complete your assignments on Jupyter. Please let us know what issue are you facing with Jupyter so that we can address the same, if possible please share a screenshot.

Thanks.

  Upvote    Share

Hi,

I have been complaining regarding non connectivity of Jupyter lab. whenever i open, it is showing connecting to kernel and stops. The problem is there since long. I have share the screen shot several times. I also tried my stopping and then starting the server still the problem persists. Can you please suggest and address the issue as I am facing since couple of months this problem. I am unable to do any activity in Jupyter lab. 

Request your urgent support

Regards

Meena Kumar

  Upvote    Share

Hi, we have asked for scheduling a meeting 3 weeks back but didn't get any response for the same. Can you schedule one now?

  Upvote    Share

Hi Sandeep 

 

Thanks for the mail. Sorry I missed that conversation for the meeting. Can we have it on this saturday or sunday. Let me know the timinig accordingly we can discuss.

 

Thanks in advance

Regards

Meena

  Upvote    Share

Please use the link given in that mail to schedule.

  Upvote    Share

HI

Can you re send the link please


Regards

Meena Kumar

  Upvote    Share

This comment has been removed.

Hi Birendra,

You can download the slides by opening it new tab - You can do this by clicking the below icon



Thanks
Himanshu

 1  Upvote    Share

Can i use Google Colab .. Do i need to install Tensorflow in Google Colaqb too ?

  Upvote    Share

Hi, 

You could do that if you want to work on any of your personal projects. You could use import tensrflow as tf and print(tf.__version__) to check if it is already installed.

Thanks.

  Upvote    Share

I am getting below error, please assist:

 

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-12-80796bef24eb> in <module>
----> 1 sess = tf.Session()
      2 sess.run(x.initializer)
      3 sess.run(y.initializer)
      4 result=sess.run(f)
      5 print(result)

AttributeError: module 'tensorflow' has no attribute 'Session'
  Upvote    Share

Hi,

Please check if you are using the Python3 kernel since this is TF1.0. Refer to the discussion below:

https://discuss.cloudxlab.com/t/explained-how-to-run-tensorflow-2-notebooks-in-cloudxlab/5432

Thanks.

  Upvote    Share

Hello sir,

How can i install tesnorflow on my local machine? 

  Upvote    Share

Hi,

You may use this : https://www.tensorflow.org/install

Thhanks.

  Upvote    Share

Dear Team, This video and the videos ahead are posted from 2 years ago.Hasn't there been any revisions since then ?New data changes from time to time and 2 years is a very big span.Kindly update if a newer version is present.

  Upvote    Share

Hi,

I understand your concern. This course is based on Tensorflow 1.0, and not much have changed since then with respect to this course. Having said that, we do monitor for any changes that might affect this course, and take action by modifying our course content as and when necessary.

Thanks.

  Upvote    Share

Hi Team,

kindly help as i am Github not updating ..Error: as Not a git Repository.

Regards'

Mrityunjay

 

  Upvote    Share

Hi,

Did you cloned the repository earlier? If yes then the files are still there. In case you have not made any changes to them, you can use the rm -rf command to delete that folder and clone it once again.

Thanks.

  Upvote    Share

Yes, file is there but there may be some changes and from the command rm-rf unable to delete.

kindly Help:

Error:

 

cxln5 login: jaymilanson1682

Password:

Last login: Wed Aug 5 14:12:20 on pts/8

-bash-4.2$ rm -rf

-bash-4.2$ rm -rf

-bash-4.2$ git clone https://github.com/cloudxlab/ml.git

fatal: destination path 'ml' already exists and is not an empty directory.

-bash-4.2$ cd ml

-bash-4.2$ git pull

fatal: Not a git repository (or any parent up to mount point /home)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

-bash-4.2$

  Upvote    Share
Caption

 

  Upvote    Share

Hello, kindly Help me. 

Error:

 

fatal: Not a git repository (or any parent up to mount point /home)Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).-bash-4.2$

  Upvote    Share

Hi,

You need to specify the folder name that you want to delete after the rm command. Try the following in the console:

rm -rf ml

Thanks.

  Upvote    Share

how can i use keras  in anaconda plz help me

 

  Upvote    Share

Hi,

We have a separate course for Keras, you can find more details from the below link:

https://cloudxlab.com/course/84/certificate-course-artificial-intelligence-deep-learning-iit-roorkee/

Thanks.

  Upvote    Share

Hi,

Does the whole course use TF 1.0, since now TF 2.0 is available and is more user friendly?

If yes would you be able to provide the codes in Tf 2.0 for the course?

Thanks

  Upvote    Share

Hi,

This course is designed using TF 1.0. As of now we do not have the codes in TF 2.0, since it is beyond scope as TF 2.0 has a different structure with the introduction of Keras. However, if you want you can migrate it using the following:

https://www.tensorflow.org/guide/migrate

Thanks.

  Upvote    Share

Hi

Thanks for the reply.

If I submit codes in Tf 2.0 for the coding excercises, from here on, will it be accepted?

Thanks

  Upvote    Share

Hi,

As I mentioned in my previous comment, this course was created using TF 1.0, so you need to submit your codes in TF 1.0.

Thanks.

  Upvote    Share

Hi
I am not able to download slides of this topic.Please help
Thanks
Prachi

  Upvote    Share

Hi Prachi,
I just replaced slides with PDF and now its available to download.

-- Sachin Giri

  Upvote    Share

Hi
What are different significances for different versions of tensorflow?
Thanks

  Upvote    Share

Hi Disqus,

Thank you for contacting us.
Main TensorFlow versions are 2.x and 1.x. The 2.x is a major update over 1.x series, Tensorflow is now easier to use, model building and deployment is also improved. A simple Google search will help you with more in-depth detail.
Please feel free to let me know if you have any queries and I'll be glad to help.

Hope this helps.

Thanks.

-- Anupam Singh Vishal

  Upvote    Share

with open("simple.txt") as f:
for line in f:
print(line)

sess = tf.Session()
sess.run(x.initializer)
sess.run(y.initializer)
result = sess.run(f)
print(result)
sess.close()

i am gating erorr-
Fetch argument <_io.TextIOWrapper name='simple.txt' mode='r' encoding='UTF-8'> has invalid type <class '_io.textiowrapper'="">, must be a string or Tensor. (Can not convert a TextIOWrapper into a Tensor or Operation.)

where i did mistake....

  Upvote    Share

Hi,

Would request you to share a screenshot of your code and the error that you are getting.

Thanks.

-- Rajtilak Bhattacharjee

  Upvote    Share

How can I download these slides?

  Upvote    Share

Hi. Rajtilak.

Presently the presentation is in view only mode.
You can take a look at the github repo where you can fork or download the .ipynb files https://github.com/cloudxla...

All the best!

  Upvote    Share

Did you just made it available cause I was able to download it! Thanks once again!

  Upvote    Share