feevos / resuneta

mxnet source code for the resuneta semantic segmentation models
Other
117 stars 30 forks source link

train.py #14

Closed tingtingqu closed 2 years ago

tingtingqu commented 2 years ago

Hello, I've just come into contact with academics. What I want to ask is how to train and test data without train.py.

feevos commented 2 years ago

Hi @tingtingqu you need to understand how to use mxnet and see example training scripts from the mxnet source code base. If you are familiar with pytorch, it is quite similar. Some useful resources are:

  1. d2l.ai
  2. https://mxnet.apache.org/versions/1.8.0/api/python/docs/tutorials/
  3. https://mxnet.apache.org/versions/1.8.0/api/python/docs/tutorials/packages/gluon/index.html
  4. https://medium.com/apache-mxnet/mxnet-gluon-in-60-minutes-3d49eccaf266
  5. https://github.com/apache/incubator-mxnet/tree/master/example/gluon/mnist

See also the forum for questions:

  1. https://discuss.mxnet.apache.org/
  2. https://github.com/apache/incubator-mxnet/discussions

Once you know the basics of mxnet, then you can write your own custom training routine, download the data that this repository refers to etc. That is you need to:

  1. Get the data
  2. Chop it into training chips as described in our manuscript
  3. Use the Dataset class provided as well as the data augmentation
  4. Use the model developed here, in your own training script
  5. run your training script
  6. Write your own inference script and test the performance on test data.

The purpose of this repository is to have demo/example code so one can reproduce the steps we took into our research paper. It is not a software for usage as a black box. Therefore you'll need to spend time to learn mxnet.

Regards, Foivos

tingtingqu commented 2 years ago

Thank you very much. I already know the problem------------------ 原始邮件 ------------------ @.> 发送时间: 2021年9月2日(星期四) 中午1:41 @.>; @.**@.>; 主题: Re: [feevos/resuneta] train.py (#14)