---
title: 运行和验证
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengkeras_02_0009.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengkeras_02_0009.html
indexId: 59e4f8108a16d7a54aa0c7a5c0ba357ee6508c9d9a3c256ecf1ebffa79117cff67
---
# 运行和验证

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令验证Keras。

```
python3
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
```


  均无报错，证明导入Keras模块成功。

  回显显示信息如下图所示。
