Comments (3)
@HisakaKoji さま
ありがとうございます。
以下のAWSの環境で実行しエラーがでないことを確認しました。
colaboratoryで実行されているとのことなので、
- dataフォルダに「make_folders_and_data_downloads.ipynb」で作成されるテキストデータのファイルが用意されていない
- dataフォルダとのフォルダ構造、パスが本書とは異なってしまっている
などの可能性があるかもしれません
どうぞよろしくお願い致します。
現在の最新のAWS環境にて試し、確認
-
AWSのDeeplearning AMIでマシン作成
-
コードをgitからコピーして、JupyterNotebookを起動
git clone https://github.com/YutaroOgawa/pytorch_advanced.git
source activate pytorch_p36
jupyter notebook --port 9999
- 実行
フォルダ「7_nlp_sentiment_transformer」のmake_folders_and_data_downloads.ipynbを実行
7-6_Transformer.ipynbを実行。上記のセル4まで。
from pytorch_advanced.
ご回答ありがとうございます。
パスを見直して、通るようになりました。
https://github.com/HisakaKoji/pytorch_advanced/blob/master/7_nlp_sentiment_transformer/7-6_Transformer.ipynb
また、素晴らしい著書ありがとうございます。
from pytorch_advanced.
@HisakaKoji さま
ありがとうございます。
無事実行できたようで良かったです。
リンク先のコードを見ましたが、私が分割しているファイルをきれいに一つにまとめていて、
Colaboratoryで進めていくのは、あとあと展開しやすくて、とても良いですね。
書籍にお褒めの言葉もいただき、著者冥利につきます。
ありがとうございます。
from pytorch_advanced.
Related Issues (20)
- 第2章 画像内の検出される物体数がゼロの場合の処理について HOT 4
- EfficientGANの実装について HOT 4
- 2-2-3においてのエラーについて HOT 3
- 【著者より】発刊から約3年、本書を今後どうしていくべきなのでしょうか。。。 HOT 3
- 第7章&第8章 本書のファイルを変更せずローカル実行できるDockerイメージ HOT 4
- P.82 DBox P.87 正規化 P.106 正解BBox その他 HOT 1
- 2-2-3 Datasetの実装(p.74上部)についての質問 HOT 5
- 2-2-3 p.78中部に関して HOT 2
- 3-7 p174 ファインチューニングによる学習と検証の実施(semantic segmentation) の損失の表示について HOT 1
- 2-4 ネットワークモデルの実装
- 2-4 ネットワークモデルの構築に関して
- 2-8 推論の実施で画像が描出されない
- 2-8 学習データをC++から使いたい
- 1-3転移学習のエラーについて
- semantic segmentationのIoUについて
- 【第1章】【1-1_load_vgg.ipynb】module 'matplotlib.pyplot' has no attribute 'open'
- AWSのEC2インスタンスに関して
- 2-2-3のDataTransformの動作確認時のエラーについて
- 複数のファイルが存在しない点について
- 【第四章の】mask.tar.gz download error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_advanced.