Comments (4)
pip show mxnet
output:
Name: mxnet
Version: 1.5.1.post0
Summary: MXNet is an ultra-scalable deep learning framework. This version uses openblas.
Home-page: https://github.com/apache/incubator-mxnet
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: /Users/jonasmue/virtual/t3/lib/python3.7/site-packages
Requires: requests, numpy, graphviz
Required-by:
from autogluon.
As I previously mentioned, I also get MXNet segfault when I run the image-classification tutorial on Mac:
import autogluon as ag
from autogluon import ImageClassification as task
dataset = task.Dataset(train_path='~/data/train') # already downloaded data to right place
classifier = task.fit(dataset, time_limits=3, epochs=1, ngpus_per_trial=0)
produces the error below:
Segmentation fault: 11
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*,
Segmentation fault: 11
Segmentation fault: 11
std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
Segmentation fault: 11
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*,Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*, std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*, std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
Segmentation fault: 11
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*,
Segmentation fault: 11
std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
Segmentation fault: 11
Segmentation fault: 11
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*,Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forwar std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
d_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*, std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*, std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
libc++abi.dylib: Pure virtual function called!
libc++abi.dylib: Pure virtual function called!
Segmentation fault: 11
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000010a85b2b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff7f0f3b5d _sigtramp + 29
[bt] (2) 3 ??? 0x0000ff980000ff97 0x0 + 281028300177303
[bt] (3) 4 libmxnet.so 0x000000010ab96751 mxnet::Storage::Get() + 3393457
[bt] (4) 5 libmxnet.so 0x000000010aa33dd5 mxnet::Storage::Get() + 1941045
[bt] (5) 6 libmxnet.so 0x000000010aa34dba mxnet::Storage::Get() + 1945114
[bt] (6) 7 libmxnet.so 0x000000010aa1b99f mxnet::Storage::Get() + 1841663
[bt] (7) 8 libmxnet.so 0x000000010a1bbe61 mxnet::io::ImdecodeImpl(int, bool, void*, unsigned long, mxnet::NDArray*) + 3073
[bt] (8) 9 libmxnet.so 0x000000010a1196c7 std::__1::enable_if<(__is_forward_iteratormxnet::NDArray**::value) && (is_constructible<mxnet::NDArray*, std::__1::iterator_traitsmxnet::NDArray**::reference>::value), void>::type std::__1::vector<mxnet::NDArray*, std::__1::allocatormxnet::NDArray* >::assignmxnet::NDArray**(mxnet::NDArray**, mxnet::NDArray**) + 30295
from autogluon.
After discussion with @zhreshold , this is MXNet release error on MacOS. To fully resolve this problem need help from MXNet maintainers.
A work around for now is installing mxnet from source.
git clone https://github.com/apache/incubator-mxnet --recursive
cd incubator-mxnet/
cp make/osx.mk ./config.mk
make -j$(sysctl -n hw.ncpu)
cd python && python setup.py develop
from autogluon.
Verified as Hang said, this can be fixed by building MXNet from source: https://mxnet.apache.org/get_started/osx_setup
But hopefully we can get this fixed by somebody soon.
from autogluon.
Related Issues (20)
- [BUG] Pip install with python 3.9 and 3.10 fails on windows at ray download
- Documentation Update Request: Issues with Specifying Hyperparameters and Tuning Them Example
- [BUG] Object Detection doesn't handle purely background negative images with no annotations HOT 1
- [BUG] Setting `ag_args_ensemble` `num_folds` to 0 results in error when `num_bag_folds >= 2` is set in the `.fit()`.
- Update on 2023 Roadmap Tasks and Request for 2024 Roadmap
- [BUG] Unable to work with Autogluon Object Detection
- Tabular: Test LightGBM `use_quantized_grad=True`
- [BUG] Kaggle Autogluon Installation Not Working for MultiModalPredictor
- Not able install Autogluon in my windows system. It is not able to find numpy==1.21.3 HOT 1
- Conda does not install `ray` by default HOT 1
- During inference, multi-GPUs are not used with DDP strategy. Only single GPU is used.
- Unable to Affect Model Training with Different random_seed Values in Time-series Module HOT 1
- Request: Implement Feature Importance Explainability for Time-Series Module HOT 1
- [timeseries] DirectTabular & RecursiveTabular models fail if eval_metric = "WAPE" HOT 7
- `estimate_memory_usage` throws `TypeError` when using HPO for `GBM` model in `TabularPredictor` HOT 2
- [BUG] export_onnx not working for some Multimodal models
- [BUG] refit_full does not expand memory allowance when `use_bag_holdout=True` (`good_quality` preset) HOT 2
- Disable dynamic_stacking when `use_bag_holdout=True`
- [BUG] [Errno 2] No such file or directory: c:\\...\\prediction-net-state.pt HOT 5
- [BUG] Missing example code automm/Conv-Lora 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 autogluon.