Process object has no attribute '_popen'
object has no attribute '_popen'
Traceback (most recent call last):
File "E:/project/CV_client_new190222/py_client/algorithm/detect_process.py", line 154, in <module>
frcnn_process.start()
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\multiprocessing\process.py", line 99, in start
assert self._popen is None, 'cannot start a process twice'
AttributeError: 'Detect_process' object has no attribute '_popen'
Process finished with exit code 1
原因:少了程式碼:super().__init__()
加上即可。
class Detect_process(Process): def __init__(self, q_in,q_out,process_mode = 0,gpu_perc = 0.1): super().__init__()
相關文章
- ‘dict‘ object has no attribute ‘iteritems‘Object
- AttributeError: 'Settings' object has no attribute 'HBase'ErrorObject
- 【坑】Tkinter ‘NoneType‘ object has no attribute ‘destroy‘NoneObject
- ‘FirewallD‘ object has no attribute ‘path‘ 、‘fw‘、is not registeredObject
- 問題解決:AttributeError: ‘NoneType‘ object has no attribute ‘append‘ErrorNoneObjectAPP
- Traceback (most recent call last): File "AttributeError: 'NoneType' object has no attribute 'group'ASTErrorNoneObject
- Rasa init報錯:AttributeError: type object 'Callable' has no attribute '_abc_registry'ErrorObject
- python去掉excel空格和換行,報錯'int' object has no attribute 'strip'PythonExcelObject
- RuntimeError: An attempt has been made to start a new process before the current process hasError
- 1_使用face_recognition模組:錯誤AttributeError:'PngStream' object has no attribute 'chunk fcWp'(20190223)ErrorObject
- AttributeError: module ‘requests‘ has no attribute ‘_version_‘Error
- module ‘h5py‘ has no attribute ‘File‘H5
- module ‘tensorflow‘ has no attribute ‘get_default_graph‘
- Input報錯“Form elements must have labels: Element has no title attribute Element has no placeholde”ORM
- [轉]成功解決AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘?Error
- 解決pycharm問題:module 'pip' has no attribute 'main'PyCharmAI
- AttributeError: module...ops‘ has no attribute ‘_TensorLike‘, ValueError: `updates` argument..eagerError
- AttributeError: module‘ tensorflow_core._api.v2. train‘ has no attribute‘ AdamOptimizer‘ErrorAPIAI
- AttributeError: module ‘tensorflow._api.v1.nn.rnn_cell‘ has no attribute ‘InputProjectionWrapper‘ErrorAPIRNNProjectAPP
- 【Error】AttributeError: module ‘scipy.misc‘ has no attribute ‘logsumexp‘ 的解決辦法Error
- python-unittest 框架利用 PageObject 設計模式在 BasePage 類中呼叫不到 send_keys 方法,執行報錯'NoneType' object has no attribute 'send_keys'Python框架Object設計模式None
- popen函式函式
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- PyTorch出現:RuntimeError: An attempt has been made to start a new process...報錯 (已解決)PyTorchError
- 複雜網路中louvain演算法實現時報錯AttributeError: module ‘community‘ has no attribute ‘best_partition‘AI演算法ErrorUnity
- Attribute Checks
- __attribute__
- clang attribute
- 【node】process
- According to TLD or attribute directive in tag file, attribute value does not accept any expressionExpress
- selenium get_attribute
- C#-特性(Attribute)C#
- C# 特性[Attribute]C#
- Zero-shot Learning零樣本學習 論文閱讀(一)——Learning to detect unseen object classes by between-class attributeObject
- subprocess.Popen 如何提前終止程式執行
- [CSS 3] :has()CSS
- find process by port
- get_attribute ('textContent') 和 get_attribute ('value') 有什麼區別