DDoS attack detection method based on One-Hot coding and improved ResNet18