Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    baoqp
    @baoqingping

    for data, label in train_iter:
    ValueError: too many values to unpack
    then I modified the code as follows:

    for data, label, pad ,index in train_iter:

    another error occured: TypeError: type <type 'list'> not supported at arg_map["data"][:] = data
    again I modified the code and it worked

    for data, label, pad ,index in train_iter:
            data = train_iter.getdata()
            label = train_iter.getlabel()

    I wonder is it necessory to use getdata() and getlabel()

    Tianqi Chen
    @tqchen
    @doobwa This means you did not build mxnet in the path
    you can open an issue on MXNet.jl to ask chiyuan
    Chris DuBois
    @doobwa
    @tqchen I'm pretty certain I built mxnet, and exported MXNET_HOME. Started an issue here: dmlc/MXNet.jl#41. Thanks!
    zhubuntu
    @zhubuntu
    This message was deleted
    This message was deleted
    This message was deleted
    This message was deleted
    zhubuntu
    @zhubuntu

    i can't enter the main function with this code in my program

    mshadow::TShape f;
        f = mshadow::Shape2(3, 5);
        mxnet::Context d = mxnet::Context::Create(mxnet::Context::kCPU, 1);
        mxnet::NDArray a(f, d, false);

    but it worked with

    mxnet::NDArray c;

    who can help me

    sunsocool
    @sunsocool
    @zhubuntu How did you delete your chat history. Why I can't delete my Chat history?
    zhubuntu
    @zhubuntu
    @sunsocool put the mouse on the right top of the message you send.
    sunsocool
    @sunsocool
    @zhubuntu My Edit and Delete button both grey , I cannot click the button~
    sunsocool
    @sunsocool
    This message was deleted
    sunsocool
    @sunsocool
    @zhubuntu I seems that I can only delete the lastest message I just sent. I cannot delete it when it is not the lastest message in the room.
    Hang Su
    @suhangpro

    I found two examples about making predictions using pre-trained models:
    1) mxnet/example/notebooks/predict-with-pretrained-model.ipynb
    2) mxnet/tests/python/predict/mxnet_predict_example.py

    In 2) there is an explicit conversion from rgb to bgr:

    sample = sample[:, :, [2,1,0]]
    however there's no such conversion in 1). Which one should be fixed?

    freepjf
    @freepjf
    i want to know can there any w
    can there any c/c++ exmples for training with mxnet
    i can see only phython and java exmples in the doc but no c,
    Brian C
    @NOTtheMessiah
    don't have enough RAM to run deepstyle above max-edge-width 350, what can other consumer video cards run deepstyle at?
    maybe a better question might be how does RAM usage scale with width? I assume O(X^2) for width X, which should be easy to test
    Brian C
    @NOTtheMessiah
    Why does out.infer_shape(data=(1, 3, 192, 192)) work within Python, but mx.infer_shape(out,data=(1,3, 192,192)) doesn't seem to work in Julia?

    this is what I'm getting:
    ./dmlc-core/include/dmlc/logging.h:208: [14:35:29] src/operator/./convolution-inl.h:323: Check failed: ksize_x <= dshape[3] && ksize_y <= dshape[2] kernel size exceed input
    LoadError: MXNet.mx.MXError("[14:35:29] src/operator/./convolution-inl.h:323: Check failed: ksize_x <= dshape[3] && ksize_y <= dshape[2] kernel size exceed input")
    while loading In[7], in expression starting on line 1

    [inlined code] from ~/.julia/v0.4/MXNet/src/base.jl:57
    in infer_shape#3 at ~/.julia/v0.4/MXNet/src/symbolic-node.jl:253

    Brian C
    @NOTtheMessiah
    I figured it out, it seems to be backwards, because mx.infer_shape(out,data=(192,192,1,3)) gets no errors
    Adam
    @AdamHibble
    Hey guys,
    What is the status on the scala team? I am writing a deep learning with Scala series, would love to include mxnet.
    Yuan (Terry) Tang
    @terrytangyuan
    Hi Adam, thanks for your interest! You can watch our progress in my forked copy of mxnet.
    We'll push it to mxnet main repo once it's ready
    Brian C
    @NOTtheMessiah
    I seem to be running out of GPU memory on Julia where I do not on Python...
    Brian C
    @NOTtheMessiah
    upon inspection with nvidia-smi -lms 200, it seems to be an irregular jump in memory usage, perhaps in some asynchronous even memory is allocated before it's freed?
    leoli2012
    @leoli2012
    hi,all , i created a model and run ok, but i don't know how to init net's w&b parameter.Is in create layer symbol step ,e.g. mx.symbol.FullyConnected(act1, name='fc2', num_hidden=8), weight and bias how to set?bias=1?
    leoli2012
    @leoli2012
    i found mx.model.FeedForward method have arg_params,that should can init net's W parameter, but i don't how to use. i think this parameter should can recive a method, such as normal distribution, to init all w in a time .
    Jiajia Geng
    @saicoco
    I just want to know how to save the value of accuracy in each iter?
    Is savecheckpoint?
    @leoli2012 ,I think you can do this,net = mx.symbol.FullyConnected(data=net, weight=w, name='fc1', num_hidden=128)
    Jiajia Geng
    @saicoco
    and the 'code'
    '''
    w = mx.symbol.Variable('myweight')
    xx_exec = xx.bind(ctx=mx.cpu(), args={'w' : w})
    '''
    in this way to init the value of the w
    Jiajia Geng
    @saicoco
    mx.initializer.Xavier
    this method can init the weight
    Jiajia Geng
    @saicoco
    batch_end_callback = mx.callback.do_checkpoint('params')(0, network, model.arg_params, model.aux_params)
    error:
    save_dict = {('arg:%s' % k) : v for k, v in arg_params.items()}
    AttributeError: 'NoneType' object has no attribute 'items'
    zhenxu66
    @zhenxu66
    [instance(0,0,0,0,0000000000000000,non-shared)] CImg<double>::load(): Failed to recognize format of file . I just tried http://dmlc.ml/rstats/2015/12/08/image-classification-shiny-app-mxnet-r.html
    But it does not work
    shiny::runGitHub("thirdwing/mxnet_shiny")
    Qiang Kou (KK)
    @thirdwing
    @zhenxu66 Are you using Windows?
    That shiny app has some problems in handling url on Windows.
    CNevd
    @CNevd
    hi all, is there any tutorials for Macbeth to load common files such as a text file
    For mxnet
    Rupesh Sreeraman
    @rupeshs
    hi all
    i just created a site called machine eye
    that uses mxnet i added local file classification
    Qiang Kou (KK)
    @thirdwing
    @rupeshs thank you so much!
    Adam
    @AdamHibble
    @terrytangyuan Looks like the scala package is coming along nicely! Well done guys. How much left till master merge?
    Yuan (Terry) Tang
    @terrytangyuan
    Soon! Stay tuned!