Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

## 安装使用

#### 1. 命令行用法

通过终端命令行的方式使用:

```bash
Expand All @@ -44,15 +42,6 @@ paconvert -i torch_code_dir [-o paddle_code_dir] [-e exclude.py] [--log_dir log_
--exclude_packages 可选,可以配置无需识别转换的torch包名,多个包名请使用逗号分隔。默认不配置。
```

#### 2. IDE交互式用法

在 IDE 中使用,交互式界面更友好。

需要在`PyCharm`或`VS Code`等主流 IDE 中安装 **文心快码插件(Baidu Comate)** 后即可使用。以`VS Code`上使用为例:

![img](./images/comate_paconvert.jpeg)


## 转换示例

以下面一个简单的 Pytorch Demo 代码为例:
Expand Down
Loading