Part 1, online study group

Meeting Minutes (14/12/2019)

  • Participants shared & discussed their Kaggle Kernel submission for Kannada MNIST competition along with Q&A
  • Discussion about lesson 1-pets

Advice

  • Make it work and try to make the first submission before shooting for higher scores.
  • Optimize for iterating faster so that you can test your ideas quickly.

Common mistakes to avoid for Kannada MNIST

Databunch creation

  • Not setting the batch size
  • Not setting the normalize part to imagenet_stats when you are using pretrained model
  • Not setting the random seed

Model

  • Start with the simplest model like restnet18, resnet34 if you are using pretrained models before trying with larger models.

Evaluation

  • learn.recorder.plot(suggestion=True) after learn.lr_find for setting the learning rate.
  • Train a bit longer (increase the epochs) if the training loss is much higher than the validation loss

Resources

4 Likes

Hello,

Great initiative! I would love to join next week. Could you please send me an invite?

Thanks!

1 Like

@JanM I think you will find the next meeting in this thread also. It’ll probably be on Saturday the 21th. The meeting might be moved to 2PM GMT. But if you come around a day earlier all the info here should be up to date.

2 Likes

Hi Jan,

I updated the thread, the next meetup is on coming Saturday at 2pm GMT and you are very welcome to join! There is also a slack channel here.

2 Likes

:santa: Ho ho ho there is a meetup today at 2PM GMT! :christmas_tree:

Meeting Minutes 21-12-2019

  • New Participants
  • IMDB Movie Review Walkthrough by @msivanes
  • MoviePoster MultiLabel Classification project by @Jan
  • Tabular Data Walkthrough by @gagan

Notes

  • Use a smaller sample set before diving in to the full dataset
  • Make sure you store the vocab and fine_tuned_enc when create your language model.
  • To go to the source code -> learn.recorder.plot_losses??

Questions

  • How to determine the layers when creating TabularLearner?

Resources

2 Likes

I wanna join the meetup

1 Like

@lesscomfortable I’m a little confused about how fitting works? suppose I ran train model for 3 epochs first and then 2 epochs . is that equals to running 5 epochs in one go?

The meetup is on now! Everyone is welcome to join! :grinning:

Here is the link for the meeting: https://zoom.us/j/226775879

1 Like

#Meeting Minutes 04-01-2020 (Thanks @msivanes for the inputs)

## Notes

  • New Participants
  • Walkthrough of notebook on Yelp Reviews to explore how fine tuning helps in handling Out of Vocabulary(OOV) words in language model by @msivanes. Words that do not appear in the wiki text & very specific to our domain are initialized with random weights & they are learned as part of fine tuning. This was based on learning from notebook[1] created by @pabloc. For more discussion see [2].

## Advice

  • Use a smaller sample of the dataset before diving into full dataset. This allows for faster training & quicker iteration.

## Questions

  • How to override the 60000 limit on vocab while creating Language Model?
  • When we freeze a model for fine-tuning, do the layers become untrainable or the layer-groups?

## Off topic

4 Likes

We decided to rotate the presentation of the lessons among us. As you know, our meetings are informal, so this is basically like explaining the material to friends and boosting your presentation skills in a supportive environment :slightly_smiling_face: For a learner, it is one of the best ways to actively engage with the material and actually learn better by explaining. So choose the lesson that you want to understand better yourself. The lesson’s recap should be short (~15-20 mins) covering main concepts in a simple language. So grab a chance and please write which lesson you would like to present :dancer: Of course, all newcomers are welcome :grinning:

3 Likes

I started the lessons a couple days ago. just came across this thread! Would love to join the next session and learn from everyone. Thank you for this initiative! :slight_smile:

1 Like

Just a reminder, the meetup will be held today in ~1h :grinning:

1 Like

The meetup is on :grinning:

There should be a reminder!!! one day prior to the meeting.

1 Like

Thanks for the feedback. If there’s an automated way to do that, let the group know.

It’s much easier for us as community members to create a personal calendar event with the information shared in the wiki to make that happen. @shahnoza is volunteering the time to host this and kind enough to provide zoom for this study group. I try not to ask the host to do more work than needed.

1 Like

Thanks for the feedback. Currently, @shahnoza does remind us on the group regarding the meetups. However, based on the feedback, I have now added an automated reminder to the slack group. We should be getting a reminder on Fridays. As @msivanes pointed out, it would be easier for the members to create a personal calendar event.

2 Likes

Meeting Notes 11-01-2020

  • Announcement about restart of cadence (starting Lesson 2) by @shahnoza

  • Lesson 2 review by @gagan

    • Classifier for pen vs pencil followed by questions. @gagan actually timed it starting from data collection to the inference & time taken is 23 min to demonstrate fastai is really FAST AI :slight_smile: . (@gagan++) Colab

    • Conceptual Framework of Supervised Learning (Gradient, Parameters, Loss, Model, Observations, Targets) by @msivanes for lesson2 - sgd.

  • Projects Showcase

    • Bengaliai - kaggle competition by @danny Kaggle
    • Car Classifier along with showing EarlyStopping & SaveBestModels callback during training by @tendo. Colab

Advice

  • Stacked transfer learning - use fine tuning on smaller 224 images (fine tuned) followed by using actual image size data (fine tuned)

Discussion

  • Class Imbalance : Is it still valid when we use transfer learning?. It might due to the fine tuning. The best thing to do is try it out as Jeremy said.

  • num_workers : number of cpu cores to speed up the data grabbing process. If you are get out of memory error, reduce num_workers to a smaller number or reduce the batch size(bs).

Resources

4 Likes

Hi @msivanes
How do I take part in the discussion?