Skip to content

Commit 6b64d4b

Browse files
AsakusaRinneOceania2018
authored andcommitted
Fix some typo of readme.
1 parent cbf2d81 commit 6b64d4b

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Badge](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu/#/en_US)
1010
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/javiercp/BinderTF.NET/master?urlpath=lab)
1111

12-
English | [中文](docs/Readme-CN.md)
12+
English | [中文](docs/README-CN.md)
1313

1414
*master branch is corresponding to tensorflow v2.10, v0.6x branch is from tensorflow v2.6, v0.15-tensorflow1.15 is from tensorflow1.15.*
1515

@@ -20,13 +20,13 @@ English | [中文](docs/Readme-CN.md)
2020

2121
`SciSharp STACK`'s mission is to bring popular data science technology into the .NET world and to provide .NET developers with a powerful Machine Learning tool set without reinventing the wheel. Since the APIs are kept as similar as possible you can immediately adapt any existing TensorFlow code in C# or F# with a zero learning curve. Take a look at a comparison picture and see how comfortably a TensorFlow/Python script translates into a C# program with TensorFlow.NET.
2222

23-
![pythn vs csharp](docs/assets/syntax-comparision.png)
23+
![python vs csharp](docs/assets/syntax-comparision.png)
2424

2525
SciSharp's philosophy allows a large number of machine learning code written in Python to be quickly migrated to .NET, enabling .NET developers to use cutting edge machine learning models and access a vast number of TensorFlow resources which would not be possible without this project.
2626

2727
In comparison to other projects, like for instance [TensorFlowSharp](https://www.nuget.org/packages/TensorFlowSharp/) which only provide TensorFlow's low-level C++ API and can only run models that were built using Python, Tensorflow.NET makes it possible to build the pipeline of training and inference with pure C# and F#. Besides, Tensorflow.NET provides binding of Tensorflow.Keras to make it easy to transfer your code from python to .NET.
2828

29-
[ML.NET](https://github.com/dotnet/machinelearning) also support using tensorflow as backend to train and infer your model, which provides better integration with .NET.
29+
[ML.NET](https://github.com/dotnet/machinelearning) also take Tensorflow.NET as one of the backends to train and infer your model, which provides better integration with .NET.
3030

3131
## Documention
3232

@@ -42,7 +42,7 @@ Troubleshooting of running example or installation:[Tensorflow.NET FAQ](tensor
4242

4343
### Installation
4444

45-
You can search the package name in NuGet Manager, or use the commands below in pckage manager console.
45+
You can search the package name in NuGet Manager, or use the commands below in package manager console.
4646

4747
The installation contains two parts, the first is the main body:
4848

@@ -57,13 +57,13 @@ PM> Install-Package TensorFlow.Keras
5757
The second part is the computing support part. Only one of the following packages is needed, depending on your device and system.
5858

5959
```
60-
### Cpu version for Windows, Linux and Mac
60+
### CPU version for Windows, Linux and Mac
6161
PM> Install-Package SciSharp.TensorFlow.Redist
6262
63-
### Gpu version for Windows (CUDA and CUDNN are required)
63+
### GPU version for Windows (CUDA and cuDNN are required)
6464
PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU
6565
66-
### Gpu version for Linux (CUDA and CUDNN are required)
66+
### GPU version for Linux (CUDA and cuDNN are required)
6767
PM> Install-Package SciSharp.TensorFlow.Redist-Linux-GPU
6868
```
6969

docs/README-CN.md

+23-12
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Tensorflow.NET并非对于Python的简单封装,而是基于C API的pure C#实
2424

2525
`SciSharp STACK`开源社区的目标是构建.NET平台下易用的科学计算库,而Tensorflow.NET就是其中最具代表性的仓库之一。在深度学习领域Python是主流,无论是初学者还是资深开发者,模型的搭建和训练都常常使用Python写就的AI框架,比如tensorflow。但在实际应用深度学习模型的时候,又可能希望用到.NET生态,亦或只是因为.NET是自己最熟悉的领域,这时候Tensorflow.NET就有显著的优点,因为它不仅可以和.NET生态很好地贴合,其API还使得开发者很容易将Python代码迁移过来。下面的对比就是很好的例子,Python代码和C#代码有着高度相似的API,这会使得迁移的时候无需做过多修改。
2626

27-
![pythn vs csharp](assets/syntax-comparision.png)
27+
![python vs csharp](assets/syntax-comparision.png)
2828

2929
除了高度相似的API外,Tensorflow.NET与tensorflow也已经打通数据通道,tensorflow训练并保存的模型可以在Tensorflow.NET中直接读取并继续训练或推理,反之Tensorflow.NET保存的模型也可以在tensorflow中读取,这大大方便了模型的训练和部署。
3030

@@ -50,20 +50,21 @@ Tensorflow.NET并非对于Python的简单封装,而是基于C API的pure C#实
5050
```sh
5151
### 安装Tensorflow.NET
5252
PM> Install-Package TensorFlow.NET
53+
5354
### 安装Tensorflow.Keras
5455
PM> Install-Package TensorFlow.Keras
5556
```
5657

5758
第二部分是计算支持部分,只需要根据自己的设备和系统选择下面之一即可:
5859

5960
```
60-
### CPU版本
61+
### CPU版本,支持Windows、Linux和Mac
6162
PM> Install-Package SciSharp.TensorFlow.Redist
6263
63-
### Windows下的GPU版本(需要安装CUDA和CUDNN
64+
### Windows下的GPU版本(需要安装CUDA和cuDNN
6465
PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU
6566
66-
### Linux下的GPU版本(需要安装CUDA和CUDNN
67+
### Linux下的GPU版本(需要安装CUDA和cuDNN
6768
PM> Install-Package SciSharp.TensorFlow.Redist-Linux-GPU
6869
```
6970

@@ -173,14 +174,24 @@ model.save("./toy_resnet_model");
173174

174175
## Tensorflow.NET版本对应关系
175176

176-
| TensorFlow.NET Versions | tensorflow 1.14, cuda 10.0 | tensorflow 1.15, cuda 10.0 | tensorflow 2.3, cuda 10.1 | tensorflow 2.4, cuda 11 | tensorflow 2.10, cuda 11 |
177-
| -------------------------- | ------------- | -------------- | ------------- | ------------- | ------------ |
178-
| tf.net 0.7+, tf.keras 0.7+ | | | | | x |
179-
| tf.net 0.4x, tf.keras 0.5 | | | | x | |
180-
| tf.net 0.3x, tf.keras 0.4 | | | x | | |
181-
| tf.net 0.2x | | x | x | | |
182-
| tf.net 0.15 | x | x | | | |
183-
| tf.net 0.14 | x | | | | |
177+
| TensorFlow.NET Versions | tensorflow 1.14, cuda 10.0 | tensorflow 1.15, cuda 10.0 | tensorflow 2.3, cuda 10.1 | tensorflow 2.4, cuda 11 | tensorflow 2.7, cuda 11 |tensorflow 2.10, cuda 11 |
178+
| -------------------------- | ------------- | -------------- | ------------- | ------------- | ------------ | ------------ |
179+
| tf.net 0.10x, tf.keras 0.10 | | | | | | x |
180+
| tf.net 0.7x, tf.keras 0.7 | | | | | x | |
181+
| tf.net 0.4x, tf.keras 0.5 | | | | x | | |
182+
| tf.net 0.3x, tf.keras 0.4 | | | x | | | |
183+
| tf.net 0.2x | | x | x | | | |
184+
| tf.net 0.15 | x | x | | | | |
185+
| tf.net 0.14 | x | | | | | |
186+
187+
188+
```
189+
tf.net 0.4x -> tf native 2.4
190+
tf.net 0.6x -> tf native 2.6
191+
tf.net 0.7x -> tf native 2.7
192+
tf.net 0.10x -> tf native 2.10
193+
...
194+
```
184195

185196
如果使用过程中发现有缺失的版本,请告知我们,谢谢!
186197

0 commit comments

Comments
 (0)