nudles commented on issue #651: Add new example APIs
URL: https://github.com/apache/singa/pull/651#issuecomment-609545036
 
 
   > 
   > 
   > > can we run (cnn|resnet|xceptionnet) + (cifar10|mnist) ?
   > > I think we can also add the mlp model?
   > > then we can remove resnet_module.py, mlp_module.py
   > 
   > There are 4 points, I guess the issue most difficult to solve is the no.1 
below
   > 
   >     1. xceptionnet has some problem, the running stopped after 1 epoch, 
maybe the model has some issues. And this model is very large I can only run 
batch size=16 (not 32)
   what is the error? if you put it on colab, we can debug together.
   > 
   >     2. The current mlp is 2d input, which is not CNN problem which has 4d 
input (batch, channel/RGB, height, width). Maybe need to change to 4d
   when we load the data, pass an argument to specify the dimension 
(is_2d=True/False).
   then reshape the data according to the argument inside the `load_data` 
function.
   > 
   >     3. The CNN has only one input channel, in order to support cifar10, 
maybe I need to adjust the number of input channel of CNN as variable
   > 
   change the CNN model to accept 4d input
   >     4. mnist is not RGB, so I has only one colour channel, if I used it 
for resnet I can see if:
   >        (i) change the input channel of resnet to a variable so it support 
1 channel
   >        (ii) replicate one channel of mnist dataset to three
   
   reshape it into 4d inside the `load_data` function.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to