【发布时间】:2021-11-18 05:43:57
【问题描述】:
Pytorch Lighting Flash 听起来对我很有希望。我正在尝试在https://lightning-flash.readthedocs.io/ 上运行最基本的教程,但我无法让它们运行。
例如,我在https://lightning-flash.readthedocs.io/en/latest/installation.html 使用安装说明在https://lightning-flash.readthedocs.io/en/stable/reference/object_detection.html 运行此对象检测示例。
我尝试了几种安装方法,但没有一种方法有效。例如:
pip install 'lightning-flash[image]'
这似乎没有任何错误。然后我导入模块
import flash
from flash.core.data.utils import download_data
from flash.image import ObjectDetectionData, ObjectDetector
闪光灯下方有一个 reg 曲线,因此看起来好像有问题。当我运行该块时,我会收到这些错误。
ImportError: /usr/local/lib/python3.7/dist-packages/torchtext/_torchtext.so: undefined symbol: _ZN2at6detail10noopDeleteEPv
【问题讨论】: