Theodoric008 / SENet-for-Weakly-Supervised-Relation-Extraction

39 stars 15 forks source link

missing data/re ? #2

Closed SeekPoint closed 5 years ago

SeekPoint commented 5 years ago

ub16hp@UB16HP:~/ub16_prj/SENet-for-Weakly-Supervised-Relation-Extraction$ python3 train.py 2018-10-31 11:35:16.509910: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 2018-10-31 11:35:16.577874: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2018-10-31 11:35:16.578199: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: name: GeForce GTX 950M major: 5 minor: 0 memoryClockRate(GHz): 1.124 pciBusID: 0000:01:00.0 totalMemory: 3.95GiB freeMemory: 3.56GiB 2018-10-31 11:35:16.578221: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)

Parameters: ALLOW_SOFT_PLACEMENT=True BATCH_SIZE=64 DROPOUT_KEEP_PROB=0.5 EMBEDDING_DIM=50 FILTER_SIZES=3 L2_REG_LAMBDA=0.0001 LOG_DEVICE_PLACEMENT=False NUM_EPOCHS=300 NUM_FILTERS=128 SEQUENCE_LENGTH=100

WordTotal= 114043 Word dimension= 50 Traceback (most recent call last): File "train.py", line 50, in datamanager = DataManager(FLAGS.sequence_length) File "/home/ub16hp/ub16_prj/SENet-for-Weakly-Supervised-Relation-Extraction/util/DataManager.py", line 21, in init self.load_relations() File "/home/ub16hp/ub16_prj/SENet-for-Weakly-Supervised-Relation-Extraction/util/DataManager.py", line 47, in load_relations relation_data = list(open("data/RE/relation2id.txt", encoding='utf-8').readlines()) FileNotFoundError: [Errno 2] No such file or directory: 'data/RE/relation2id.txt' Exception ignored in: <bound method BaseSession.del of <tensorflow.python.client.session.Session object at 0x7f5e1875ca90>> Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 696, in del TypeError: 'NoneType' object is not callable ub16hp@UB16HP:~/ub16_prj/SENet-for-Weakly-Supervised-Relation-Extraction$