|
- fast. ai Course Forums
Forums for fast ai Courses, software, and research
- Moving inference to the CPU - fastai - fast. ai Course Forums
I’ve trained a model using fast ai v1 I now want to deploy the model and run predictions but only on CPU I’ve tried the following which is taken from this topic The code looks like: learn model training = False learn model = learn model cpu() When I attempt to obtain a prediction: lean predict(df_test iloc[0]) I get the following error: RuntimeError: Expected object of backend CPU but
- Using Pytorch in the fastai framework - A Guide
In the spirit of this blog, I’ve released a smaller sublibrary of fastai called fastai_minima which contains only what’s needed to get Learner, the (absolute) basic Callbacks, and OptimWrapper going:
- NameError: name timm is not defined - fastai - fast. ai Course Forums
For me the problem was that the train ipynb notebook downloaded from the HuggingFace repository for lesson 3 has the order of imports for timm and fastai vision all inverted
- TimeSeries - fastai dev - fast. ai Course Forums
This is thread to discuss about porting timeseries algorithms to fastai We currently have a very polished lib to work with timeseries tsai actively developed by @oguiza et al This lib follows fastai style of coding and is based on nbdev Please help us develop it! Ignacio has been currently working on self-supervised learning to get pretrained models on unlabeled data Resources: The
- Shifted ReLU (-0. 5) - Part 2 (2019) - fast. ai Course Forums
As Jeremy suggested in last night’s lecture, I tried subclassing nn ReLU and added a constant -0 5 shift to it I plugged it into a modified single-channel, shrunken-down ResNet I’ve been using for my Magic Sudoku app (t hellip;
- Textlist from df - fastai - fast. ai Course Forums
Hello everyone! I’m trying to build a text list from a data frame, with one column being the text, and the other column being a rating of 1-5 This was my attempt: data_clas = (TextList from_df(df, path, cols=1,vocab=data_lm vocab) random_split_by_pct(0 1) databunch(bs=bs)) however I get the following error: Your data isn’t labeled, can’t turn it in a DataBunch yet! Which I agree, it
- Discord Chat - fastai - fast. ai Course Forums
If there is a thriving slack fastai community I just wasn’t aware of it, and wouldn’t have made the discord I don’t see a chat room as a replacement for forums at all, just a supplement or another lens For chat, although it can kind of do it, Discourse is much much worse, imo
|
|
|