On my installation of Fastai v.1.0.60 on Windows 10, the doc()
function is somehow not imported through the standard syntax.
from fastai.vision import *
from fastai import *
doc(SegmentationItemList)
Output:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-28-a3abe20d793b> in <module>
1 from fastai.vision import *
2 from fastai import *
----> 3 doc(SegmentationItemList)
NameError: name 'doc' is not defined
Other things appear imported normally, however. Example:
print(SegmentationItemList)
print(get_image_files)
Output:
<class 'fastai.vision.data.SegmentationItemList'>
<function get_image_files at 0x0000018D1B9EEA68>
When I use Fastai on Google Colab, the doc()
function works as expected.
from fastai.vision import *
doc(SegmentationItemList)
Output:
class
SegmentationItemList
[source][test]
SegmentationItemList
( ***args
** ,convert_mode
='RGB'
,after_open
:Callable
=None
, ****kwargs
** ) ::ImageList
How can I troubleshoot this, please?