Commit ·
9d1c06b
1
Parent(s): c92415c
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
|
| 4 |
```python
|
|
@@ -14,7 +27,9 @@ from bert_experimental.finetuning.text_preprocessing import build_preprocessor
|
|
| 14 |
from bert_experimental.finetuning.graph_ops import load_graph
|
| 15 |
|
| 16 |
|
| 17 |
-
df = pd.read_csv("
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
texts = []
|
|
|
|
| 1 |
|
| 2 |
+
Visual semantic with BERT-CNN
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
```
|
| 6 |
+
conda create -n BERT_visual python=3.6 anaconda
|
| 7 |
+
conda activate BERT_visual
|
| 8 |
+
pip install tensorflow==1.15.0
|
| 9 |
+
pip install --upgrade tensorflow_hub==0.7.0
|
| 10 |
+
```
|
| 11 |
+
|
| 12 |
+
```
|
| 13 |
+
git clone https://github.com/gaphex/bert_experimental/
|
| 14 |
+
```
|
| 15 |
|
| 16 |
|
| 17 |
```python
|
|
|
|
| 27 |
from bert_experimental.finetuning.graph_ops import load_graph
|
| 28 |
|
| 29 |
|
| 30 |
+
df = pd.read_csv("test.tsv", sep='\t')
|
| 31 |
+
# visual information image caption
|
| 32 |
+
# standard poodle shopping cart footwear a close up of a dog laying in a basket
|
| 33 |
|
| 34 |
|
| 35 |
texts = []
|