You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2022/08/24 08:59:22 UTC

[singa] branch dev updated: Update inline comments for model configuration

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/singa.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9b8e1e94 Update inline comments for model configuration
     new fcf73f23 Merge pull request #981 from wannature/singa_v21
9b8e1e94 is described below

commit 9b8e1e94636088346709e9cfa638df512e1d5bc2
Author: wenqiao zhang <we...@zju.edu.cn>
AuthorDate: Wed Aug 24 16:41:33 2022 +0800

    Update inline comments for model configuration
---
 examples/demos/Classification/BloodMnist/ClassDemo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/demos/Classification/BloodMnist/ClassDemo.py b/examples/demos/Classification/BloodMnist/ClassDemo.py
index 1ce8e663..adccac4f 100644
--- a/examples/demos/Classification/BloodMnist/ClassDemo.py
+++ b/examples/demos/Classification/BloodMnist/ClassDemo.py
@@ -201,7 +201,7 @@ val_dataset = ClassDataset(val_path, transforms)
 
 batch_size = 256
 
-# model configuration
+# Model configuration for CNN
 model = CNNModel(num_classes=num_class)
 criterion = layer.SoftMaxCrossEntropy()
 optimizer_ft = opt.Adam(lr=1e-3)