Comments (2)
Duplicate of #28. Fixed with #30
from yolo3-4-py.
Dear @madhawav ,
I just downloaded the branch master where it has the applied fix that they describe, but I get the same error. I leave error capture.
La versión master de YOLO no es compatible con la versión master de darknet.
python3 setup.py build_ext --inplace
creating build/temp.linux-x86_64-3.6
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE_GPU=0 -DUSE_CV=1 -I/home/everis/.local/lib/python3.6/site-packages/numpy/core/include -I/home/everis/Documentos/darknet/include -I/home/everis/Documentos/darknet/src -I/usr/include/python3.6m -c pydarknet.cpp -o build/temp.linux-x86_64-3.6/pydarknet.o -I/usr/include/python3.6m -I/usr/include/x86_64-linux-gnu/python3.6m -I/usr/local/include/opencv -I/usr/local/include
In file included from /home/everis/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:0,
from /home/everis/.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/everis/.local/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pydarknet.cpp:612:
/home/everis/.local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^~~~~~~
pydarknet.cpp: In function ‘PyObject __pyx_pf_9pydarknet_5Image_2show_image(__pyx_obj_9pydarknet_Image, char*, int)’:
pydarknet.cpp:2315:75: error: too many arguments to function ‘void show_image(image, const char*)’
show_image(__pyx_v_self->img, __pyx_v_title, __pyx_v_wait_duration_in_ms);**
^
In file included from bridge.h:16:0,
from pydarknet.cpp:618:
/home/everis/Documentos/darknet/src/image.h:69:6: note: declared here
void show_image(image p, const char name);
^~~~~~~~~~
pydarknet.cpp: In function ‘PyObject __pyx_pf_9pydarknet_8Detector_4detect(__pyx_obj_9pydarknet_Detector, __pyx_obj_9pydarknet_Image, float, float, float)’:
pydarknet.cpp:3060:163: error: too few arguments to function ‘detection* get_network_boxes(network*, int, int, float, float, int*, int, int*, int)’
__pyx_v_dets = get_network_boxes(__pyx_v_self->net, __pyx_v_image->img.w, __pyx_v_image->img.h, __pyx_v_thresh, __pyx_v_hier_thresh, ((int )0), 0, __pyx_v_pnum);*
^
In file included from bridge.h:15:0,
from pydarknet.cpp:618:
/home/everis/Documentos/darknet/include/darknet.h:903:20: note: declared here
LIB_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int map, int relative, int num, int letter);
^~~~~~~~~~~~~~~~~
pydarknet.cpp: In function ‘void pyx_pf_9pydarknet_8Detector_6__dealloc(__pyx_obj_9pydarknet_Detector)’:
pydarknet.cpp:3312:30: error: could not convert ‘__pyx_v_self->__pyx_obj_9pydarknet_Detector::net’ from ‘network’ to ‘network’
free_network(__pyx_v_self->net);
~~~~~~~~~~~~~~^~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
from yolo3-4-py.
Related Issues (20)
- get error when i install yolo34py in Windows 8 pro HOT 1
- running yolov4 HOT 1
- Error installing from both pip and source HOT 5
- Disable architecture printing HOT 1
- batch inference HOT 1
- ModuleNotFoundError: No module named 'numpy' HOT 1
- does it work with yolov4? HOT 2
- Ubuntu 20.4 installation error HOT 1
- FileNotFoundError: pkg-config, pkg-config HOT 1
- ImportError: No module named pydarknet HOT 5
- Proxy issue in downloading https://github.com/madhawav/darknet while installing YOLO34PY using PIP HOT 1
- crashes on colab using custom weights/config HOT 2
- Trouble installing pip install yolo34py-gpu HOT 1
- Errors in "pip3 install yolo34py-gpu" HOT 1
- Error when installing yolo34py-gpu from source. HOT 2
- Segmentation Fault when running custom model HOT 1
- Error when pip installing
- Installation with newer GCC not working HOT 1
- Error pip installing yolo34py on windows
- Google Colab crashed when I was running the Detector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolo3-4-py.