diff --git a/Jenkinsfile b/Jenkinsfile index 8013e92776cbd639e621d59e085dd58bea5575d5..6cf18baa6b4ac770717e6a00f9cb24bd5ae185a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -70,7 +70,7 @@ stage("Build and Publish") { sh label:"Release", script:"""set -ex conda activate ${ENV_NAME} d2lbook build pkg - d2lbook deploy html pdf pkg colab sagemaker --s3 s3://zh-v2.d2l.ai + d2lbook deploy html pdf pkg colab sagemaker --s3 s3://${LANG}-v2.d2l.ai """ } else { diff --git a/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.md b/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.md index c8170a28905320d4f4c8da9928ad5ac9854f0103..792e9b860c2c3dee21a26c9506ec8472fb3f3858 100644 --- a/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.md +++ b/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.md @@ -45,7 +45,7 @@ GPU供应商通常每一到两年发布一代,例如2017年发布的GTX 1000 1. 在每个系列中,价格和性能大致成比例。Titan因拥有大GPU内存而有相当的溢价。然而,通过比较980 Ti和1080 Ti可以看出,较新型号具有更好的成本效益。RTX 2000系列的价格似乎没有多大提高。然而,它们提供了更优秀的低精度性能(FP16、INT8和INT4)。 2. GTX 1000系列的性价比大约是900系列的两倍。 -3. 对于RTX 2000系列,价格是价格的“仿射”函数。 +3. 对于RTX 2000系列,浮点计算能力是价格的“仿射”函数。 ![浮点计算能力和能耗](../img/wattvsprice.svg) :label:`fig_wattvsprice` diff --git a/chapter_recurrent-neural-networks/sequence.md b/chapter_recurrent-neural-networks/sequence.md index efb90a4aeae1a07c3523722f3daf858824cebef5..690a311ffe87312263adb755318429c144822a78 100644 --- a/chapter_recurrent-neural-networks/sequence.md +++ b/chapter_recurrent-neural-networks/sequence.md @@ -279,7 +279,7 @@ def get_net(): tf.keras.layers.Dense(1)]) return net -# 最小均方损失。注意:MSELoss计算平方误差时不带系数1/2 +# 最小均方损失。注意:MeanSquaredError计算平方误差时不带系数1/2 loss = tf.keras.losses.MeanSquaredError() ```