amazon-science / tabsyn

Official Implementations of "Mixed-Type Tabular Data Synthesis with Score-based Diffusion in Latent Space""
Apache License 2.0
95 stars 28 forks source link

Bug when Training Models #21

Open ZhifengWu7 opened 3 months ago

ZhifengWu7 commented 3 months ago

When trying to train a model using the following command: python main.py --dataname adult --method smote --mode train

I encountered the following error: Module baselines.smote.main not found.

Does anyone know how to fix this bug?

QDKStorm commented 3 months ago

When trying to train a model using the following command: python main.py --dataname adult --method smote --mode train

I encountered the following error: Module baselines.smote.main not found.

Does anyone know how to fix this bug?

I met the same problem when I run this command too python main.py --dataname adult --method stasy --mode train did you fix that?

ZhifengWu7 commented 3 months ago

YES, the reason is that I did not install the scikit-learn package successfully.

hengruizhang98 commented 2 months ago

Sorry for the late reply, I cannot receive the notification emails since I am not the owner of this repo.

The above issues seem to be caused by the inconsistent package versions, e.g., scikit-learn. I will update this repo to specify the package versions.

ZhifengWu7 commented 2 months ago

Thank for you reply. I have fixed the bug, and answered another person who met the same issue in your repo.

On Thu, Aug 8, 2024 at 10:58 AM Hengrui Zhang @.***> wrote:

Sorry for the late reply, I cannot receive the notification emails since I am not the owner of this repo.

The above issues seem to be causes by the inconsist package versions, e.g., scikit-learn. I will update this repo to specify the package versions.

— Reply to this email directly, view it on GitHub https://github.com/amazon-science/tabsyn/issues/21#issuecomment-2276371601, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZZLGP7T4VQHHUQES74GUTZQOWU3AVCNFSM6AAAAABKUIAJOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGM3TCNRQGE . You are receiving this because you authored the thread.Message ID: @.***>