huggingface / huggingface/naacl_transfer_learning_tutorial
ImportError: cannot import name 'cached_path'
- Lenguaje dominante
- Python
- Estrellas
- 725
- Forks
- 118
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
ub16c9@ub16c9-gpu:/media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/naacl_transfer_learning_tutorial$ python3.6 pretraining_train.py
Traceback (most recent call last):
File "pretraining_train.py", line 21, in
from utils import get_and_tokenize_dataset, average_distributed_scalar, add_logging_and_checkpoint_saving, WEIGHTS_NAME
File "/media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/naacl_transfer_learning_tutorial/utils.py", line 16, in
from pytorch_pretrained_bert import cached_path
ImportError: cannot import name 'cached_path'
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Run python3.6 pretraining_train.py and inspect utils.py line 16, along with the installed pytorch_pretrained_bert package, to determine why cached_path cannot be imported. Done means the tutorial starts past this import error.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100