Skip to content

fastai applications import error: No module named 'fastai.learner' #1

@edtky

Description

@edtky

I get the error "No module named fastai.learner" when I run:

!python generate.py -model notewise_generator -output notewise_generator_samples --random_freq .8 --trunc 3

in BasicIntro.ipynb.

The error occurs for all the fastai applications that you import:
from fastai.learner import *
from fastai.rnn_reg import *
from fastai.rnn_train import *
from fastai.nlp import *
from fastai.lm_rnn import *

Also the way fastai structure their modules (http://docs.fast.ai/index.html) seem to be different from what is used in this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions