General course chat


(Jayant Raj) #406

@jeremy Are there any plans to offer part 2 of the course to remote participants? (Thought of asking this on the forum since I might have missed the announcement.)

Thanks!


(Mat M) #407

Were you able to resolve your issue? I am having the same problem on my local machine.


(Amit Kayal) #408

Hello All,

I am getting following error while apply TTA. It is a multi class image classification.

log_preds,y = learn50_dog_breed.TTA()
probs = np.mean(np.exp(log_preds),0)

================================
TypeError Traceback (most recent call last)
in ()
----> 1 probs = np.mean(np.exp(log_preds),0)

/mnt/disks/user/anaconda3/lib/python3.6/site-packages/numpy/core/fromnumeric.py in mean(a, axis, dtype, out, keepdims)
2952 pass
2953 else:
-> 2954 return mean(axis=axis, dtype=dtype, out=out, **kwargs)
2955
2956 return _methods._mean(a, axis=axis, dtype=dtype,

TypeError: mean() missing 3 required positional argument: “dim”, “keepdim”, “dtype”


(Xiwang Li) #409

Yes, Use the updated instruction at


(Constantin Baumgartner) #410

Is anyone else having audio problems with v3 Lesson 7? I can’t really understand anything Jeremy is saying.


(Avinash Jagdale) #411

audio working fine for me.


(Sandeep Singh) #412

Why in v2 Part 1, jeremy did not discuss TTA at all? has TTA been made implicit in v3?


(Kurian Benoy) #413

create_cnn() method is not working in Kaggle kernel. Couldn’t solved this issue for a long time now. I wanted to use kaggle dataset, but using kaggle library in google colabs is not possible.

Can anyone help me


(Amit Kayal) #414

Hello,

I have built a model and it uses image normalization. Now i am developing a web app for this. Do i need to normalize the input image which are being fed into web app for classification?

Thanks


(Bhuvana Kundumani) #415

Hi,

This link has details on getting data from Kaggle to Colab

You can also look at the code here in my github, where i have downloaded dataset form Kaggle.


(Battle500) #417

Yes, I think you should do so in order to help the model you have trained to get the best results. What normalization does is just reduce all inputs into a unique scale. Most of the time, this unique scale corresponds to normal distribution of mean 0 and standard deviation of 1.


(Bharadwaj Krishnan) #418

Where are the resources for part 2 of the program(dates and times etc). How do we register? If it is not yet available, when will it be available?


(Edward Ross) #419

There is a in-person registration form linked from fast.ai homepage.

This states Part 2 will run March 18 - April 30 (7 weeks).

It’s currently not decided whether it will be possible to register for a livestream like part 1.


(Dien Hoa TRUONG) #420

The GCP discussion thread seems disappear right ? I cannot access to it anymore


(Amit Kayal) #421

Hello,

I am using ImageItemList.from_csv to read my data and my aim is to display the file name for which prediction went wrong from validation set. So i tried following but it returned me only the index image.

interpCat = ClassificationInterpretation.from_learner(learn50_cat_breed)
interpCat.most_confused(min_val=2)
interpCat.plot_top_losses(9, figsize=(15,11))
losses, indexes = interpCat.top_losses()

top_loss_paths = data_cat_breed.valid_ds.x[indexes]

Here top_loss_paths returning me indexes from validation data set which have gone wrong and i can see the images by following simple command.

data_cat_breed.valid_ds.x[130]

I need to get file name but unable to get the name from index. Can anyone please help me how to get the filename?


(Mathijs van Steen) #423

Yeah I’m having similar issues on android (audio works fine on PC…)


(Constantin Baumgartner) #424

I haven’t figured out the cause yet. It works fine on my iPhone and on the computers of my colleagues sitting right next to me, but not on my laptop for some reason. I tried all the standard browser troubleshooting (clearing cache, different browsers, etc.) nothing worked. No idea whats going on.


(Mathijs van Steen) #425

If possible, it gets even weirder here: so I only have the issue when I play over my phone’s speaker. Other yt videos play just fine over the speaker.if I then connect headphones the sound from the lesson is perfectly fine…

No clue, I guess we’ll never know haha…


(Jithin James) #426

Going through the video lectures, several lecture notes caught my attention. It was easy to search for and find topics. One which caught my eye was that shared by @hiromi here: https://github.com/hiromis/notes/

Here’s a little change (only for lesson 1) that I made and put them under Github pages. See example: https://jithinjk.github.io/notes/Lesson1.md.html

I used Markdeep here.

Please let me know what you think about it? Is it a good idea to add similar pages to http://docs.fast.ai for each lesson?


(The INTProgrammer) #427

I’ve got a 16 hour flight coming up… downloading all of the videos to watch on the flight as we speak… Many thanks to Jeremy and his team!