summaryrefslogtreecommitdiffstats
path: root/scripts/global_setting.py
diff options
context:
space:
mode:
authorzhaoyehua <zhaoyh6@asiainfo.com>2021-03-24 16:25:33 +0800
committerzhaoyehua <zhaoyh6@asiainfo.com>2021-03-24 16:27:48 +0800
commitdd67db0dede71551c772caa685d3c12a1a3e57d2 (patch)
tree3c36524a6f65e49002f8dd9767445300da343734 /scripts/global_setting.py
parent11b32441cc0235cc5ca4066085a3d8d0253e5789 (diff)
feat:Adjust the directory and increase the image production process
Issue-ID: USECASEUI-525 Change-Id: I7bcbf0b48778fd59946483b253f32dda217913c0 Signed-off-by: zhaoyehua <zhaoyh6@asiainfo.com>
Diffstat (limited to 'scripts/global_setting.py')
-rw-r--r--scripts/global_setting.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/global_setting.py b/scripts/global_setting.py
deleted file mode 100644
index 51dfec1..0000000
--- a/scripts/global_setting.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from __future__ import absolute_import
-from __future__ import division
-from __future__ import print_function
-
-
-# import collections
-# import math
-# import modeling
-# import optimization
-import tokenization
-# import six
-# import tensorflow as tf
-# import os
-
-# Global variables
-
-# GPU number, default: -1, means not used
-CUDA_VISIBLE_DEVICES = "2"
-
-# Questions to be trained/predicted
-questions = ['Communication Service Name', 'Max Number of UEs', 'Data Rate Downlink', 'Latency', 'Data Rate Uplink', 'Resource Sharing Level', 'Mobility', 'Area']
-
-# Configuration file
-FLAGS_bert_config_file = '/home/run/uncased_L-12_H-768_A-12/bert_config.json'
-FLAGS_vocab_file = '/home/run/uncased_L-12_H-768_A-12/vocab.txt'
-FLAGS_init_checkpoint_squad = '/home/run/uncased_L-12_H-768_A-12/bert_model.ckpt'
-
-max_seq_length = 512
-
-
-tokenizer_ch = tokenization.FullTokenizer(vocab_file=FLAGS_vocab_file, do_lower_case=True)