KO
|
EN
gitlite — search
Search
#typescript
#javascript
#rust
#python
#css
#html
#react
#android
#csharp
#nextjs
#graphql
#ios
De-Fake
★ 32
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
ESP32-SoftwareLIN
:
Implementation of the software LIN bus serial for ESP32
gcli
:
Golang CLI
rosusv_ws
:
ROS话题通信初探——基于NMPC的无人艇定点控制与轨迹跟踪控制
ci
:
CI for ggml and related projects
livewire3-datatable
:
Simple Data table implementation using livewire
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
De-Fake
?
Download (.md)
# De-Fake It is the code for the paper: DE-FAKE: Detection and Attribution of Fake Images Generated by Text-to-Image Generation Models. ### Environment You first need to build the environment by: ``` conda env create -f environment.yaml conda activate defake ``` ### Infer For the usage, You can download our model on https://drive.google.com/file/d/1qI7x5iodaCFq0S61LKw4wWjql7cYou_4/view?usp=sharing and https://drive.google.com/file/d/1SuenxJP10VwArC6zW0SHMUGObMRqQhBD/view?usp=sharing for the encoder and classifier. Then test on ``` python test.py --image_path XXX ``` ### Train If you want to train the detector yourself, please enter the correct file path in train.py. Then ``` python train.py ``` ### License DeFake is licensed under the term of thr MIT license. See LICENSE for more details.