未验证 提交 ca2b51d1 编写于 作者: sodesinai's avatar sodesinai 提交者: GitHub

Update autodl.py

add parameter class_dim
上级 5e9e2dcc
...@@ -505,9 +505,9 @@ def StemConv1(input, C_out): ...@@ -505,9 +505,9 @@ def StemConv1(input, C_out):
return bn_a return bn_a
class NetworkImageNet(object): class NetworkImageNet(object):
def __init__(self, arch='DARTS_6M'): def __init__(self, arch='DARTS_6M', class_dim=1000):
self.params = train_parameters self.params = train_parameters
self.class_num = 1000 self.class_num = class_dim
self.init_channel = 48 self.init_channel = 48
self._layers = 14 self._layers = 14
self._auxiliary = False self._auxiliary = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册