chapter13-15 代码接口更新#64
Open
Liiiii1234 wants to merge 5 commits into
Open
Conversation
Completed the migration from ops to mint interface for 3_word2vec_pretraining.ipynb, 6_similarity_analogy.ipynb, and 7_bert.ipynb. Files not requiring modification remain unchanged.
Completed the migration from ops to mint interface for 4.anchor.ipynb, 8.rcnn.ipynb, 10.transposed-conv.ipynb, and 12.neural-style.ipynb in chapter_13_computer-vision.2.fine-tuning.ipynb remains unchanged as ops.stop_gradient() currently lacks a corresponding function in the mint module. Files not requiring modification remain unchanged.
Completed the migration from ops to mint interface for 1_sentiment_analysis_and_dataset.ipynb, 2_sentiment_analysis_rnn.ipynb, 3_sentiment_analysis_cnn.ipynb, 4_natural_language_inference_and_dataset.ipynb, 5_natural_language_inference_attention.ipynb, and 7_natural_language_inference_bert.ipynb in chapter 15 folder. Note: Simply removed unused ops imports in files 1, 4, and 7. 6_finetuning_bert.ipynb remains unchanged as it does not utilize the ops module
Completed the migration from ops to mint interface for boundingbox.ipynb, fcn.ipynb, multiscale-object-detection.ipynb, and ssd.ipynb. Note: image-augmentation.ipynb, kaggle-cifar10.ipynb, and semantic-segmentation-and-dataset.ipynb remain unchanged as they do not utilize the ops module.
Author
|
已经按照要求删除了 kernel_meta 文件夹,只保留了 .ipynb 文件。麻烦请再次审核,谢谢。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

对应issue: https://gitee.com/mindspore/community/issues/ID9GTK
基于MindSpore2.7.1版本更新。
替换其中的ops接口为mint接口。
部分文件无需更改。
保留ops中的ops.stop_gradient
测试环境:
ms2.7.1-cann8.2rc1:v3
Ascend: 1*ascend-snt9b3|ARM: 24核 192GB