
Traceback (most recent call last):

 "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message
self.ui.dispatch_event(update['uid'], update['event'], update['params'])

 "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event
self.root.dispatch_event(uid, event, params)

 "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
if child.dispatch_event(uid, event, params):

 "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
if child.dispatch_event(uid, event, params):

 "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 388, in dispatch_event
getattr(self, k)(**(params or {}))

 "/var/lib/ajenti/plugins/vh/main.py", line 214, in on_go_back
WebsitesPlugin.get().activate()

 "/usr/lib/pymodules/python2.7/ajenti/api/__init__.py", line 83, in get
return context.get_instance(cls)

 "/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 188, in get_instance
return self.instantiate(cls)

 "/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 195, in instantiate
instance = cls(*args, **kwargs)
TypeError: __init__() takes at least 2 arguments (1 given)
Traceback (most recent call last):


 "D:/gitlab/playground/test_thop.py", line 20, in <module>

flops, params = profile(model, inputs=(input_rand, ))


 "C:\Users\.conda\envs\pytorch\lib\site-packages\thop\profile.py", line 188, in profile

model(*inputs)


 "C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "D:/gitlab/playground/test_thop.py", line 15, in forward

return self.ConvNet(input)


 "C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__

result = self.forward(*input, **kwargs)


 "C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\container.py", line 100, in forward

input = module(input)


 "C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 552, in __call__

hook_result = hook(self, input, result)


 "C:\Users\.conda\envs\pytorch\lib\site-packages\thop\vision\basic_hooks.py", line 92, in count_adap_avgpool

kernel = torch.DoubleTensor([*(x[0].shape[2:])]) // torch.DoubleTensor(list((m.output_size,))).squeeze()
TypeError: must be real number, not NoneType
