小编anm*_*pro的帖子

从头开始实现 Faster Rcnn

我想从头开始构建我自己的 Faster-RCNN 模型,用于从图像数据中进行多目标检测。

有人可以向我推荐一些好的资源来逐步实现更快的 RCNN 吗?

就准确性和执行时间而言,哪一个是好的 YOLO 或更快的 RCNN?

computer-vision python-3.x tensorflow yolo faster-rcnn

5
推荐指数
1
解决办法
9072
查看次数

AttributeError: 模块“tensorflow.python.keras.backend”没有属性“get_graph”

我一直在研究用于对象检测的 keras yolov3 模型。这个错误一直出现。这是错误:

AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'

Run Code Online (Sandbox Code Playgroud)

我不知道该怎么办。我尝试将“import keras.module.module”替换为“tensorflow.keras.module.module”。但它仍然不起作用。

完整的输出代码:

runfile('G:/Traffic Violation Detection/object_detection.py', wdir='G:/Traffic Violation Detection')
Using TensorFlow backend.
Traceback (most recent call last):

  File "<ipython-input-3-0715decb6662>", line 1, in <module>
    runfile('G:/Traffic Violation Detection/object_detection.py', wdir='G:/Traffic Violation Detection')

  File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
    execfile(filename, namespace)

  File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "G:/Traffic Violation Detection/object_detection.py", line 6, in <module>
    from keras.layers.merge import add, concatenate

  File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import …
Run Code Online (Sandbox Code Playgroud)

python keras tensorflow keras-layer tf.keras

4
推荐指数
1
解决办法
1万
查看次数

未为颤振中的“TextTheme”类定义 getter“bodyText2”

当我flutter_linkify/flutter_linkify.dart在我的 flutter 项目中导入包时,我的控制台出现了这个错误:

Launching lib\main.dart on CRO U00 in debug mode...
Running Gradle task 'assembleDebug'...

Compiler message:
/C:/src/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_linkify-3.1.3/lib/flutter_linkify.dart:113:44: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/src/flutter/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText2'.
        style: Theme.of(context).textTheme.bodyText2.merge(style),
                                           ^^^^^^^^^
/C:/src/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_linkify-3.1.3/lib/flutter_linkify.dart:117:14: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/src/flutter/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to …
Run Code Online (Sandbox Code Playgroud)

dart android-studio flutter

3
推荐指数
1
解决办法
2155
查看次数