ZongxuPan / DrBox-v2-tensorflow

The tensorflow implementation of DrBox-v2 which is an improved detector with rotatable boxes for target detection in remote sensing images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python2的程序在python3里面如何运行

APeiZou opened this issue · comments

from model import *

File "D:\Work\Python_Project\Work_tf2\DrBox-v2-tensorflow-master\model.py", line 4, in
from rbox_functions import *
File "D:\Work\Python_Project\Work_tf2\DrBox-v2-tensorflow-master\rbox_functions.py", line 7, in
librbox = so("./librbox.so")
File "D:\ProgramFiles\Anaconda3\lib\ctypes_init_.py", line 434, in LoadLibrary
return self.dlltype(name)
File "D:\ProgramFiles\Anaconda3\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 不是有效的 Win32 应用程序。

python提供了不同版本转换工具,2to3.py

请问你解决了吗,我也遇到了一样的错误,貌似不是python2转python3的原因。