Comments (6)
@zhreshold @Jiakui
I tried option 2 and When I try to execute demo.py I got the same error message
AttributeError: 'module' object has no attribute 'Scale' ,
the file tools/find_mxnet is now as follows:-
import sys
sys.path.insert(0, '../mxnet/python')
try:
import mxnet as mx
except ImportError:
import os, sys
curr_path = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(curr_path, "../mxnet/python"))
import mxnet as mx
I had MXNET successfully installed using instructions from http://mxnet.io/get_started/osx_setup.html#install-the-mxnet-package-for-python
Thanks
from mxnet-ssd.
I found the problem, I used the standard mxnet instead of your version.
from mxnet-ssd.
My question is, how should I run the demo.py if I don't install your fork of mxnet? I have installed the dmlc version of mxnet and it dosen't have the mx.symbol.Scale module.
from mxnet-ssd.
The extra layers are required.
But you don't necessary to install mxnet globally, use per-project mxnet is a better practice IMO.
from mxnet-ssd.
@zhreshold Sorry, i encounter this question too. How to fix it? I just finish all the operation as the github readme, how can i modify my mxnet project to run the demo.py, thank you.
from mxnet-ssd.
@xhniu If you followed all steps correctly, and still got this error, you should check if you have installed an official repo globally. If true, import mxnet will import that one first.
Two options
- Remove the mxnet-xxx.egg in your python global packages
- in tools/find_mxnet, insert path before import mxnet, e.g.
sys.path.insert(0, '../mxnet/python')
try:
import mxnet as mx
...
from mxnet-ssd.
Related Issues (20)
- problem of multi_layer_feature map output shape(mobilenet ssd) HOT 2
- Cannot start training vgg16_reduced HOT 1
- why train so much epoch(240epoch) than caffe ssd (12000iter==58epoch) HOT 1
- AttributeError: 'str' object has no attribute 'rank' HOT 8
- Train network with no bias in convolution layer HOT 10
- Error training inceptionv3 HOT 4
- Any suggestions about adjusting hyper-parameters?
- Error: There has no definition of variable "start_offset"
- ModuleNotFoundError: No module named 'common' HOT 5
- OSError: [WinError 126] The specified module could not be found HOT 2
- How to training SSD using my own datasets ?
- convert code to python3 HOT 1
- rename files inside vgg16_ssd_300_voc0712_trainval.zip
- rename mobilenet-ssd-512-0001.params
- problem of training HOT 1
- Difference between eval_metric and validation_metric?
- when convert caffe SSD to MXNET, how to deal repeated min_size
- bash commande for python 3
- pedestrian_detection训练网络时遇到错误
- fail to prepare dataset using python 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 mxnet-ssd.