일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 파이썬
- springboot
- token filter test
- zip 파일 암호화
- sort
- License
- matplotlib
- Java
- zip 암호화
- Elasticsearch
- analyzer test
- Kafka
- 900gle
- plugin
- high level client
- Mac
- aggs
- query
- MySQL
- 차트
- licence delete curl
- flask
- aggregation
- ELASTIC
- license delete
- TensorFlow
- API
- docker
- Python
- Test
- Today
- Total
목록Python/RNN (4)
개발잡부
import tensorflow as tf import tensorflow_text as text hypotheses = tf.ragged.constant([['captain', 'of', 'the', 'delta', 'flight'], ['the', '1990', 'transcript']]) references = tf.ragged.constant([['delta', 'air', 'lines', 'flight'], ['this', 'concludes', 'the', 'transcript']]) result = text.metrics.rouge_l(hypotheses, references) print('F-Measure: %s' % result.f_measure) print('P-Measure: %s' ..
VOCAB_SIZE = 1000 encoder = tf.keras.layers.TextVectorization( max_tokens=VOCAB_SIZE) encoder.adapt(train_dataset.map(lambda text, label: text)) import numpy as np import tensorflow_datasets as tfds import tensorflow as tf tfds.disable_progress_bar() import matplotlib.pyplot as plt def plot_graphs(history, metric): plt.plot(history.history[metric]) plt.plot(history.history['val_'+metric], '') p..
conda 환경을 새로 만들고 싶지만 시간이 아까워서 900gle 의 환경을 사용. conda activate 900gle python -m pip install --upgrade pip Study.py import numpy as np import tensorflow_datasets as tfds import tensorflow as tf tfds.disable_progress_bar() "This version of TensorFlow Datasets requires TensorFlow " ImportError: This version of TensorFlow Datasets requires TensorFlow version >= 2.1.0; Detected an installation of vers..
conda create --name "tesla" python="3.7" - python=3.7 The following NEW packages will be INSTALLED: ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2 certifi pkgs/main/osx-64::certifi-2021.10.8-py37hecd8cb5_0 libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0 libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2 ncurses pkgs/main/osx-64::ncurses-6.3-hca72f7f_2 openssl pkgs/main/osx..