From e0c8895854715081c3c5a3917948075db3b4765b Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 6 Sep 2017 14:28:36 -0400 Subject: Wrong feature name in aai-service features.xml Even though this is part of CCSDK, the feature names used for CCSDK in karaf are still following the convention of sdnc-, except for aai-service. This causes a problem since the install script expects the feature names to start with sdnc-. So, while it might arguably be best to change all package names from sdnc-* to ccsdk-* and update the installer, it is a smaller fix to just change aai-service to use the sdnc- convention. Change-Id: I331d1b637ea2d1a0d83f4c5e55392f1137c94a54 Issue-ID: CCSDK-78 Signed-off-by: Dan Timoney --- aai-service/features/src/main/resources/features.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aai-service/features/src/main/resources/features.xml b/aai-service/features/src/main/resources/features.xml index bd3d0bc1..4baca838 100644 --- a/aai-service/features/src/main/resources/features.xml +++ b/aai-service/features/src/main/resources/features.xml @@ -19,16 +19,16 @@ --> - mvn:org.opendaylight.mdsal/features-mdsal/${odl.mdsal.features.version}/xml/features - + odl-mdsal-broker - ccsdk-sli + sdnc-sli mvn:org.onap.ccsdk.sli.adaptors/aai-service-provider/${project.version} mvn:com.sun.jersey/jersey-client/${jersey.client.version} mvn:com.sun.jersey/jersey-core/${jersey.version} -- cgit a href='/usecase-ui/nlp/stats/scripts/global_setting.py?h=london'>stats
blob: 51dfec113658fc08918d9120940c831176b08bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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)