Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the datasets? #1

Closed
zhangqizky opened this issue Dec 12, 2018 · 22 comments
Closed

How to get the datasets? #1

zhangqizky opened this issue Dec 12, 2018 · 22 comments
Assignees

Comments

@zhangqizky
Copy link

hello agusgun, thank you for releasing the code, I try to download the datasets you used in the method from this link http://forensics.idealtest.org/ but there is no dataset at all...Could you please tell me how to get the datasets? Thank you very much~

@holylovenia
Copy link
Collaborator

@zhangqizky It seems the website has been taken down due to maintenance or other reasons. I found someone uploaded it to Kaggle, perhaps you can check it.

@Soyammaharathy
Copy link

Ya I am also unabke to get the datasets even from kaggle.. Can anybody pls tell where this datasets could be available?

@zhangqizky
Copy link
Author

Ya I am also unabke to get the datasets even from kaggle.. Can anybody pls tell where this datasets could be available?

@zhangqizky It seems the website has been taken down due to maintenance or other reasons. I found someone uploaded it to Kaggle, perhaps you can check it.

thank you very much, I can download it!!!

@zhangqizky
Copy link
Author

Ya I am also unabke to get the datasets even from kaggle.. Can anybody pls tell where this datasets could be available?

if you still can not download from Kaggle link above, contact me. ZQ_INS_SEU@163.com

@SmritiSingh7
Copy link

I have downloaded the dataset from the kaggle link provided by you.But I don't see any .csv file in that folder . As you have loaded the csv file in the dataset code,i am not sure how to get that?

Do i need to explicitly convert any file to csv format? Please help..

@holylovenia
Copy link
Collaborator

I have downloaded the dataset from the kaggle link provided by you.But I don't see any .csv file in that folder . As you have loaded the csv file in the dataset code,i am not sure how to get that?

Do i need to explicitly convert any file to csv format? Please help..

There is no csv file in the original dataset. We made it ourselves. So yes, you have to create your own csv file.

@SmritiSingh7
Copy link

SmritiSingh7 commented Jan 13, 2019 via email

@b-yogesh
Copy link

@holylovenia @Soyammaharathy @agusgun
Can you please guide me on how did you convert the images into csv file or share the script on how to do so?
Since i am not sure about the how the dataset looks after being converted into csv, i want to know what is Xtrain and Ytrain, please comment on this too.

Thanks,
Yogesh

@agusgun
Copy link
Owner

agusgun commented Jan 22, 2019

@holylovenia @Soyammaharathy @agusgun
Can you please guide me on how did you convert the images into csv file or share the script on how to do so?
Since i am not sure about the how the dataset looks after being converted into csv, i want to know what is Xtrain and Ytrain, please comment on this too.

Thanks,
Yogesh

hello @b-yogesh @SmritiSingh7 I am really sorry for the late reply. For the CSV dataset it is just a simple csv using following format:
file_name,1 or 0 (fake or real image)
example for real image:
'datasets/train/real/Au_ani_00001.jpg',0

Hope this will help you

@agusgun agusgun closed this as completed Jan 29, 2019
@Faheem92
Copy link

@agusgun
Can you drop a csv file in such format with only 5 entries ?
It will be of great help from you Sir.

@rajsaraiya009
Copy link

Hello, I have a small doubt actually when I am trying to convert image into ELA i.e
"convert_to_ela_image('datasets/train/real/Au_ani_00001.jpg', 90)" I am getting an error that permission is denied. Can you please help where I am going wrong.

To be more specific about my error I am pasting my error below,

***** PermissionError: [Errno 13] Permission denied: 'C:\Users\saraiya.resaved.jpg' *****

Any help will be highly appreciated thanks in advance.

@agusgun
Copy link
Owner

agusgun commented Mar 21, 2020 via email

@Masofish
Copy link

Hello, I have a small doubt actually when I am trying to convert image into ELA i.e
"convert_to_ela_image('datasets/train/real/Au_ani_00001.jpg', 90)" I am getting an error that permission is denied. Can you please help where I am going wrong.

To be more specific about my error I am pasting my error below,

***** PermissionError: [Errno 13] Permission denied: 'C:\Users\saraiya.resaved.jpg' *****

Any help will be highly appreciated thanks in advance.

Hello,The author uses Linux system, if you use Windows system, please Google how to deal with it!

@rajsaraiya009
Copy link

Hello, I have a small doubt actually when I am trying to convert image into ELA i.e
"convert_to_ela_image('datasets/train/real/Au_ani_00001.jpg', 90)" I am getting an error that permission is denied. Can you please help where I am going wrong.
To be more specific about my error I am pasting my error below,
***** PermissionError: [Errno 13] Permission denied: 'C:\Users\saraiya.resaved.jpg' *****
Any help will be highly appreciated thanks in advance.

Hello,The author uses Linux system, if you use Windows system, please Google how to deal with it!

hello i am very new to this i tried to search how to do it in windows but i didnt got any proper solution related to this if you can help me if you have some thing please do let me know.

@agusgun
Copy link
Owner

agusgun commented Mar 31, 2020

I can't help with that because that is operating system error.

On Wed, Mar 18, 2020 at 8:20 AM rajsaraiya009 @.***> wrote: Hello, I have a small doubt actually when I am trying to convert image into ELA i.e "convert_to_ela_image('datasets/train/real/Au_ani_00001.jpg', 90)" I am getting an error that permission is denied. Can you please help where I am going wrong. To be more specific about my error I am pasting my error below, ***** PermissionError: [Errno 13] Permission denied: 'C:\Users\saraiya.resaved.jpg' ***** Any help will be highly appreciated thanks in advance. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJZAP5UEJCZKOLCTBBEPTRIAOUJANCNFSM4GJ3X3WQ .
-- - Agus Gunawan 13515143 Sekolah Teknik Elektro dan Informatika Institut Teknologi Bandung

hello agusgun,I'm a novice. I'm very interested in your work. Thank you for your open source. According to your tips, I tried to process the dataset, but I still failed. Can you give me more tips or send me the CSV file? My email is kimjyu@foxmail.com, thank you very much!

Hello, can I see your error log, csv file, and tree structure from your directory related to this project? Thank you

@harikad11
Copy link

AttributeError Traceback (most recent call last)
in
1 for index,row in dataset.iterrows():
----> 2 X.append(array(convert_to_ela_image(row[0], 90).resize((128, 128))).flatten() / 255.0)
3 Y.append(row[1])

AttributeError: 'numpy.ndarray' object has no attribute 'append'

Hello agusgun, I am getting error in In[13] . Can you help to resolve this !

@KasunAkalanka
Copy link

Hi, I'd be much obliged if you can provide a link to download the relevant dataset?

@harikad11
Copy link

harikad11 commented May 11, 2021 via email

@surendra477
Copy link

Hey guys I have used this dataset https://www.kaggle.com/code/monishmoni/preprocessor-image-npy it worked for me thank you.

@zhangqizky
Copy link
Author

zhangqizky commented Apr 24, 2022 via email

@surendra477
Copy link

Hi, I'd be much obliged if you can provide a link to download the relevant dataset?

https://www.kaggle.com/code/monishmoni/preprocessor-image-npy

@surendra477
Copy link

surendra477 commented Apr 24, 2022 via email

@agusgun agusgun mentioned this issue Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests