munhouiani / Deep-Packet

Pytorch implementation of deep packet: a novel approach for encrypted traffic classification using deep learning
MIT License
183 stars 56 forks source link

pre-traind模型使用出错 #8

Closed zbdxkzk closed 2 years ago

zbdxkzk commented 2 years ago

求助求助!!!

zbdxkzk commented 2 years ago

运行时出现了这个错误 TypeError: init() missing 1 required positional argument: 'hparams'

HERMIT-OuO commented 2 years ago

运行时出现了这个错误 TypeError: init() missing 1 required positional argument: 'hparams'

猜测可能是使用了较新版本的 pytorch-lightning,新的版本更改了 hparams 参数的用法:https://pytorch-lightning.readthedocs.io/en/latest/common/hyperparameters.html

LSC666 commented 2 years ago

pytorch-lightning-0.9.0 这个版本可以用 @zbdxkzk

munhouiani commented 2 years ago

Code 已更新