Comments (2)
Hi @HLasse,
I have not seen this issue before. Have you tried experimenting with batch size to see if that get round the issue?
One other thing to check would be numerical instability. There are a few divisions and logarithms in the code here do any the denominators/log arguments of them approach zero for your dataset?
from synthcity.
I actually encountered the same problem on larger datasets. For me, it is not just that NaNs are sampled but the training loss also becomes NaN after a couple of iterations.
I agree with @robsdavis that this is related to numerical instability. In particular, I traced the error (in my case) down to
synthcity/src/synthcity/plugins/core/models/tabular_ddpm/utils.py
Lines 151 to 154 in 943fa28
I managed to stabilize the function and can create a related pull request if you want. However, I cannot guarantee that this gives the same results on the datasets for which the non-adjusted variant works without issues. I only tried this for a couple of datasets and the results were close enough.
from synthcity.
Related Issues (20)
- Question about the implements of Beta_coverage
- Increase upper bound on numpy version
- Does this library generate synthetic EEG signals, MRI images? HOT 1
- Incompatibility between SynthCity and scikit_learn 1.4. With workaround and possible fix HOT 1
- eval does not share encoding transformers
- PydanticUserError in schema.py HOT 1
- Issue with networkx 3.0
- Benchmark problem on survivalgan HOT 1
- importing plugins fails HOT 2
- Macos-latest workflow HTTPS error HOT 1
- Time series with missingness HOT 5
- How is train-test-splitting beneficial?
- Session crashed and installation issue on google colab HOT 2
- GOGGLE doesn't exist HOT 14
- Question about k anonymity metric HOT 1
- PATE-GAN: Data Partition
- PATE-GAN: Moments Accountant
- PATE-GAN: Teachers
- PATE-GAN: Metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthcity.