Closed SMABHISHEK closed 3 years ago
Script names is also inconsistent - Example .logs to .dataset
Hi my code snippet is import torch.nn as nn
Could you be more specific about script names are inconsistent? .dataset //Stores original datasets after downloading .output //Stores intermediate files and final results during execution .logs //Stores execution logs
cd scripts
download 2000 hdfs samples for testing and debugging
sh download_hdfs_2k.sh
download hdfs dataset
sh download_hdfs.sh
run logbert on HDFS
sh run_logbert_hdfs.sh
Getting issues in #run logbert on HDFS script
Traceback (most recent call last): File "../main_logbert.py", line 4, in
from logbert.bert_pytorch import Predictor, Trainer
File "/home/amanjanagowd/testbed/LOGBERT/logbert/logbert/init.py", line 1, in
from .bert_pytorch import Trainer, Predictor
File "/home/amanjanagowd/testbed/LOGBERT/logbert/logbert/bert_pytorch/init.py", line 1, in
from .model import BERT
File "/home/amanjanagowd/testbed/LOGBERT/logbert/logbert/bert_pytorch/model/init.py", line 1, in
from .bert import BERT
File "/home/amanjanagowd/testbed/LOGBERT/logbert/logbert/bert_pytorch/model/bert.py", line 1, in
import nn as nn
ImportError: No module named nn