Setting up text tensor summation: what is a workspace file?

Reading the Tensorflow text compression documentation setting: https://github.com/tensorflow/models/tree/master/textsum containsclone the code to your workspace and create empty WORKSPACE file.

I created a new folder and cloned https://github.com/tensorflow/tensorflow.git to this folder, is that what is meant by “clone code for your workspace”? What is an empty workspace file? Is it an empty file with the name WORKSPACE?

+4
source share
1 answer

WORKSPACE - , bazel ( ) .

WORKSPACE.

$touch WORKSPACE

cd models
mkdir traintextsum
cd traintextsum
ln -sf ../textsum/ .
mkdir data 
touch WORKSPACE
bazel build -c opt --config=cuda textsum/...

, . - , Gigaword, .

, , ( $6 . $27 . ).

, , .

+9

Source: https://habr.com/ru/post/1652692/


All Articles