Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

custom data #67

Open
TaewonKim-Kaist16 opened this issue Apr 24, 2020 · 1 comment
Open

custom data #67

TaewonKim-Kaist16 opened this issue Apr 24, 2020 · 1 comment

Comments

@TaewonKim-Kaist16
Copy link

TaewonKim-Kaist16 commented Apr 24, 2020

Hello, I am trying to test the code with my custom data.
But I have some question of using it.
How does this code distinguish the anomaly and normal data in test set?
Using forder name? (such as, 0.normal/1.abnormal)
I don't know how to distinguish normal and abnormal data set of custom data in the code.
Do I have to make "get_anomaly_dataset" function like cifar10 and mnist, or it just works automaticaly with proper forder structure?

@greenairy
Copy link

Hello @samet-akcay ,

I got just the same probelm above. When the custom data is saved in ./data/custom_data/, the error appears with:

ValueError: Data is not binary and pos_label is not specified

So how are the label of normal class and abnormal class defined in custom data?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants