Hi, I tried to
import fastai in ipython, there are a bunch of errors, I corrected them as following:
__all__variables in many files, including basic_train.py, callback.py, data.py, metrics.py, train.py, fp16.py, should be a list of String, such as:
__all__ = ['loss_batch', 'fit', 'Learner']in file basic_train.py
- the module
imports.callbacksdoesn’t exist, I restore it from the repository, and change many imports statements, such as:
import callbacks as cb---->
from .imports import callbacks as cbin file train.py
import .core import *---->
from ..imports.core import *in file lr_finder.py
I’m wondering if my modifications to the code is right? or I just missed some critical things?
Thank you so much!