Skip to content

KnightZhang625/EANN_TensorFlow

Repository files navigation

EANN_TensorFlow

Produced by Jiaxin Zhang

This is the TensorFlow implementation for the paper <<EANN: Event Adversarial Neural Networks for Multi-Modal Fake News Detection>>, including industrial deployment.

Requirements

  • python 3
  • tensorflow == 1.14 (prefer to 1.14, >1.12 also satisfied)
  • If encounter mismatch GPU Driver problem, please install tensorflow_gpu by conda install tensorflow-gpu=1.14

Run Example

# train
python train.py -m train
# package model for inference
python train.py -m package
# predict
python predict.py

Description

  • data_new

The train, evaluate, test datas are saved here.

  • process_data

Make data, no need to modify if only run the example.

The main EANN model.

Revise the configuration in this file.

The function provides data input for the model.

Supplenmentary functions for the main model.

Function for training and packaging the model.

Function for prediction the model.

Reference

About

TensorFlow implementation for the EANN

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages