cpuでは、テキストのトレーニングコード(https://github.com/tensorflow/models/tree/master/research/textsum)が完璧に実行されます。モデルはまだ訓練を受けたが、やはりCPUになっている https://github.com/tensorflow/models/blob/master/research/textsum/seq2seq_attention.py#L84 https://github.com/tensorflow/models/blob/master/research/textsum/seq2seq_attention_model.py#L149 https://github.com/tensorflow/models/blob/master/research/textsum/seq2seq_attention_model.py#L217 https://github.com/tensorflow/models/blob/master/research/textsum/seq2seq_attention_model.py#L228gpuでテンソルフローテキストモデルを実行
:速く訓練のためにGPU上でコードを実行するに
、私は4行を次のように "GPU" に "CPU" に変更されました、そしてgpuではなく。 (私はnvidia-smiを使用して確認しました)
gpuでトレーニングするために何か変更が必要な場合は教えてください。