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

Why so long ? #19

Open
TDL77 opened this issue Mar 3, 2024 · 12 comments
Open

Why so long ? #19

TDL77 opened this issue Mar 3, 2024 · 12 comments

Comments

@TDL77
Copy link

TDL77 commented Mar 3, 2024

has been counting for several hours and the end is not even visible, on such a small dataset as
real_path = "Real_Datasets/Adult.csv"

@zhao-zilong
Copy link
Contributor

Hi @TDL77 could you share more details? with only this description, I cannot locate the problems. Normally it is very fast.

@TDL77
Copy link
Author

TDL77 commented Mar 3, 2024

trying to play the file Experiment_Script_Adult.ipynb

I did this earlier on another computer and it took several days, I couldn’t wait and interrupted it, just launched it on my home laptop
image
image

@zhao-zilong
Copy link
Contributor

@TDL77 in which step you blocked? training or sampling?

@TDL77
Copy link
Author

TDL77 commented Mar 3, 2024

traning stage

[tool.poetry]
name = "ctab-gan-plus"
version = "0.1.0"
description = ""
authors = ["TDL"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
numpy = "1.21.0"
torch = "^2.2.1"
pandas = "1.2.4"
scikit-learn = "^1.4.1.post1"
dython = "0.6.4.post1"
tqdm = "^4.66.2"

[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.3"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

image

@zhao-zilong
Copy link
Contributor

You can first set num_exp = 1 so that it will not train for 5 times as now.
But still, if there is no error, and it just blocks there, I cannot think about the reason.
I think you may need to add more prints in the fit function to see which function blocks the process.

@TDL77
Copy link
Author

TDL77 commented Mar 4, 2024

I can’t figure out where it gets stuck?!

photo_2024-03-04_17-51-44
photo_2024-03-04_17-51-37
photo_2024-03-04_17-51-41

@nayemmajhar
Copy link

@TDL77
Were you able to generate a sample dataset?
I am facing the same issue.
The model fits with data but generating a sample dataset takes infinity time.

@TDL77
Copy link
Author

TDL77 commented Apr 27, 2024

@TDL77 Were you able to generate a sample dataset? I am facing the same issue. The model fits with data but generating a sample dataset takes infinity time.

no

@zhao-zilong
Copy link
Contributor

@nayemmajhar are you fitting with the demo dataset? If you are fitting another dataset, you may experience this error: #7 (comment)

@zhao-zilong
Copy link
Contributor

@TDL77 sorry to hear that, so after you putting the print, in which step the code stops?

@nayemmajhar
Copy link

@nayemmajhar are you fitting with the demo dataset? If you are fitting another dataset, you may experience this error: #7 (comment)

I am using demo data for training.

@zhao-zilong
Copy link
Contributor

@nayemmajhar with Adult dataset? is that possible for you to print some information to see in which line of code it stops? This demo has been run many times by me and my colleagues, should run without problems.

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

3 participants