프로젝트
GitHub에서 보기
nurpeiis/LeakGAN-PyTorch
소개
A simple implementation of LeakGAN in PyTorch
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLeakGAN-PyTorch
A simple implementation of LeakGAN in PyTorch described in Long Text Generation via Adversarial Training with Leaked Information.
Requirements
- PyTorch 2.0+
- Python 3.8+
- NumPy
- SciPy
- NLTK (for BLEU evaluation)
- CUDA 11.0+ (For GPU)
Files
Discriminator.py: The discriminator model of LeakGAN including Feature Extractor and classificationGenerator.py: The generator model of LeakGAN including worker and manager unitsdata_iter.py: Data loader for Generator and Discriminatorutils.py: Contains all the connecting parts for recurrent & loss functionsmain.py: Running this file will initiate trainingtrain.py: Alternate training entry pointconvert.py: Convert token indices to real wordseval_bleu.py: Evaluation of the BLEU scores (2-5) between test dataset and generated dataencode.py: Text-to-tensor preprocessing and encoding
Usage
python main.py
Reference
@article{guo2017long,
title={Long Text Generation via Adversarial Training with Leaked Information},
author={Guo, Jiaxian and Lu, Sidi and Cai, Han and Zhang, Weinan and Yu, Yong and Wang, Jun},
journal={arXiv preprint arXiv:1709.08624},
year={2017}
}
Acknowledgements
Main source:
- https://github.com/CR-Gjx/LeakGAN/blob/master/Image%20COCO/
- https://github.com/deep-art-project/Music/blob/master/leak_gan/
Copyright (c) 2019 Nurpeiis Baimukan
관련 프로젝트 살펴보기
불러오는 중…