python - 不知道使用 T2T 时要设置哪些目录
问题描述
我正在尝试从这里学习 T2T 教程:https ://colab.research.google.com/drive/1Vm-HPy_9HnTxn607x3oidSioX2hpqH_A?authuser=2#scrollTo=6vGb1s-WnaB2
我在 Windows 8.1(64 位)上,我认为我设置正确的目录路径不正确。
在教程中它说:
DATA_DIR=$HOME/t2t_data
TMP_DIR=/tmp/t2t_datagen
TRAIN_DIR=$HOME/t2t_train/$PROBLEM/$MODEL-$HPARAMS
t2t-datagen \
--data_dir=$DATA_DIR \
--tmp_dir=$TMP_DIR \
--problem=$PROBLEM
但是,在成功下载数据集后[I0422 15:25:00.175716 5632 generator_utils.py:255] Successfully downloaded data-plaintext-format.tar, 1197486080 bytes. 100% completed]
,我收到了很多回溯调用,最终是这样的:
NotFoundError: FindFirstFile failed for: C:/Users/John/t2t/tmp/data.plaintext-format : The system cannot find the path specified.
; No such process
我猜我设置的目录错误,但我不知道怎么做?
解决方案
推荐阅读
- ssl - Paho javascript 客户端 + mosquitto Websockets + Tls
- facebook - 如何按时间范围过滤 Facebook Ads Insights?
- matlab - 查找函数的不同矩阵如何工作
- python - Python:如何更改列表项,如果项目也存在于另一个列表中
- javascript - 如何检测选择标签的变化
- django - 连接到 Postgres 时的 Django 错误,不支持的启动参数:选项
- sql - 查询变量内部
- firebase - 后端服务的 Firebase Firestore 安全规则
- javascript - Sequelize 创建行包含多对多关系
- r - 有没有办法在 R 中对值进行分组?