Questions tagged [fastai]

Fastai is a deep learning library for Python. It is built on top of PyTorch, and provides high level API to various common deep learning applications and data types. For more information see: https://docs.fast.ai or https://github.com/fastai

Filter by
Sorted by
Tagged with
2
votes
1answer
27 views

How to specify version for dependencies so that each one is compatible and stays within a size limit?

I am trying to deploy a web app to Heroku. The free tier is limited to 500 MB. I am using my resnet34 model as a .pkl file. I create model with it using the fastai ...
0
votes
1answer
63 views

How imagenet mean and std derived?

To use pre-trained models it is a preferred practice to normalize the input images with imagenet standards. mean=[0.485, 0.456, 0.406] and ...
0
votes
1answer
62 views

fastai - using 'untar_data' function in kaggle kernel

I have recently started with fastai lesson 1 and I am using kaggle to run the course notebooks. While going through the ‘lesson1-pets’ notebook we use ...
0
votes
1answer
28 views

Classification with a lot of the classes

I’m trying to make model which will classify text into about 500 different classes. I think that I have to customize architecture of the Pooling Classifier which looks now like this: ...
1
vote
0answers
25 views

Improve performance of my CNN model

I am working on an image classification problem. There are 876 images in the training and 600 in the test dataset. It is a multi class classification for plants. Since this is my first CNN problem, ...
0
votes
0answers
173 views

How to load the .h5 file and do transfer learning using fastai?

I have the pre-trained model in .h5 format, how do I load it and do transfer learning using fastai? I am currently using Keras to do transfer learning, but Keras doesn't have certain functionalities ...
2
votes
2answers
256 views

Face recognition - How to make an image classifier with large number of classes?

I am planning to make an image classifier that identifies the face of every player in the English Premier League. I have a couple of questions (since until now I have only worked with small or ...
1
vote
1answer
63 views

Arguments in python fast.ai function that are not in the function definition?

I have been coming across function calls that use arguments that are not in the function definition. I would like to know how that works (i.e. how the compiler interprets this). For example, this ...