All Projects β†’ bxshi β†’ Conmask

bxshi / Conmask

Licence: mit
ConMask model described in paper Open-world Knowledge Graph Completion.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Conmask

MaskedFaceRepresentation
Masked face recognition focuses on identifying people using their facial features while they are wearing masks. We introduce benchmarks on face verification based on masked face images for the development of COVID-safe protocols in airports.
Stars: ✭ 17 (-79.76%)
Mutual labels:  dataset, representation-learning
Fashion Mnist
A MNIST-like fashion product database. Benchmark πŸ‘‡
Stars: ✭ 9,675 (+11417.86%)
Mutual labels:  dataset
La3dm
Learning-aided 3D mapping
Stars: ✭ 77 (-8.33%)
Mutual labels:  dataset
Vidvrd Helper
To keep updates with VRU Grand Challenge, please use https://github.com/NExTplusplus/VidVRD-helper
Stars: ✭ 81 (-3.57%)
Mutual labels:  dataset
Setl
A simple Spark-powered ETL framework that just works 🍺
Stars: ✭ 79 (-5.95%)
Mutual labels:  dataset
Openml R
R package to interface with OpenML
Stars: ✭ 81 (-3.57%)
Mutual labels:  dataset
Pytorch Project Template
Deep Learning project template for PyTorch (Distributed Learning is supported)
Stars: ✭ 76 (-9.52%)
Mutual labels:  dataset
Ccpd
[ECCV 2018] CCPD: a diverse and well-annotated dataset for license plate detection and recognition
Stars: ✭ 1,252 (+1390.48%)
Mutual labels:  dataset
Evtx Attack Samples
Windows Events Attack Samples
Stars: ✭ 1,243 (+1379.76%)
Mutual labels:  dataset
Atis dataset
The ATIS (Airline Travel Information System) Dataset
Stars: ✭ 81 (-3.57%)
Mutual labels:  dataset
Recursive Cnns
Implementation of my paper "Real-time Document Localization in Natural Images by Recursive Application of a CNN."
Stars: ✭ 80 (-4.76%)
Mutual labels:  dataset
Symbolic Musical Datasets
🎹 symbolic musical datasets
Stars: ✭ 79 (-5.95%)
Mutual labels:  dataset
Google Covid19 Mobility Reports
Data extraction of Google's COVID-19 Mobility Reports
Stars: ✭ 82 (-2.38%)
Mutual labels:  dataset
Urbannavdataset
UrbanNav: anΒ Open-Sourcing Localization Data Collected in Asian Urban Canyons, Including Tokyo and Hong Kong
Stars: ✭ 79 (-5.95%)
Mutual labels:  dataset
Crnn With Stn
implement CRNN in Keras with Spatial Transformer Network
Stars: ✭ 83 (-1.19%)
Mutual labels:  dataset
Facegrab
A tool to collect public images from Facebook and create an image dataset for training computer vision applications like gender recognition, and face detection
Stars: ✭ 76 (-9.52%)
Mutual labels:  dataset
Pointclouddatasets
3D point cloud datasets in HDF5 format, containing uniformly sampled 2048 points per shape.
Stars: ✭ 80 (-4.76%)
Mutual labels:  dataset
Mklpy
A package for Multiple Kernel Learning in Python
Stars: ✭ 81 (-3.57%)
Mutual labels:  representation-learning
Keypointnet
KeypointNet: A Large-scale 3D Keypoint Dataset Aggregated from Numerous Human Annotations (CVPR2020)
Stars: ✭ 84 (+0%)
Mutual labels:  dataset
Ice
ICE: Item Concept Embedding
Stars: ✭ 83 (-1.19%)
Mutual labels:  representation-learning

ConMask

Code for AAAI'18 paper: Open-world Knowledge Graph Completion.

The datasets and pre-trained models can be found at https://drive.google.com/open?id=1YBKw4nOnbscpDeTD_gWxfcpHRFG3MY20

Warning: Current implementation needs a machine with four GPUs, this could be reduced to 1 GPU but needs code modification.

Run the code

Compile C++ Operator

Go to ndkgc/ops/__sampling, run

cmake .
cmake --build .

to compile the negative sampling operator using CMake and TensorFlow.

If you can not compile this C++ operator, please consider downgrade your TensorFlow to 1.3. PRs to fix this is welcomed.

Download per-trained model snapshot

Download DB50 from

https://drive.google.com/file/d/1qw8d0LGT18D_3p2_dNmyqztkgZO4ageW/view?usp=sharing

put the DB50 dataset under ConMask/data.

Download pre-trained ConMask model from

https://drive.google.com/file/d/1OsSwP2LTHiPzP_gManIrjdAxUjj9nl8t/view?usp=sharing

put the snapshot directly under ConMask/

And use the following command under ConMask/:

# Closed-World Evaluation
python3 -m ndkgc.models.fcn_model_v2 checkpoint_db50_v2_dr_uniweight_2 data/dbpedia50 --force_eval --layer 3 --conv 2 --lr 1e-2 --keep_prob 0.5 --max_content 512 --pos 1 --neg 4 --noopen --neval 5000 --eval --nofilter
# Open-World Evaluation
python3 -m ndkgc.models.fcn_model_v2 checkpoint_db50_v2_dr_uniweight_2 data/dbpedia50 --force_eval --layer 3 --conv 2 --lr 1e-2 --keep_prob 0.5 --max_content 512 --pos 1 --neg 4 --open --neval 5000 --eval --filter

You can also find the DB500 dataset at https://drive.google.com/file/d/1Tx1gyMoj-9RkbdRvKzHYZ5EZmSrUywVF/view?usp=sharing

Please submit a GitHub issue if you have any further questions or inquiry [email protected].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].