helloworldlxb
helloworldlxb
``` def setup_lstm_model(ctx, batch_size, num_lstm_layer, seq_len, num_hidden, num_label, dropout=0.5, initializer=mx.initializer.Xavier()): lstm = lstm_unroll(batch_size, num_lstm_layer, seq_len, num_hidden, num_label, dropout) print "LSTM established" arg_names = lstm.list_arguments() input_shapes = {} input_shapes['data'] = (batch_size,...
Well, I reduced the number of filters and then it worked...
@pluskid Thank you!
@Godricly Yes. The full traceback: ``` Traceback (most recent call last): File "video_lstm_2.py", line 277, in model = mx.model.FeedForward.create(m, X=iter, eval_data=val_iter, num_epoch = 200, learning_rate=0.01, epoch_end_callback=a_epoch, batch_end_callback=mx.ca llback.Speedometer(batch_size)) File "F:\PublicToolbox\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\...
@reminisce This is the definition of the network. I defined a new layer so it may be long. Thank you! ``` class DetectionLoss(mx.operator.NumpyOp): def __init__(self): super(DetectionLoss, self).__init__(False) def list_arguments(self): return...
I am faced with this problem, too. However, I did not use multi-gpu models. Have you solved this problem?@antorsae