# Cannot generate posterior samples after training

**URL:** <https://discuss.bayesflow.org/t/cannot-generate-posterior-samples-after-training/68>\
**Category:** General\
**Created:** [February 23, 2024, 9:13am UTC](https://discuss.bayesflow.org/t/cannot-generate-posterior-samples-after-training/68 "2024-02-23T09:13:53Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![KLDivergence](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.bayesflow.org/kldivergence/32/15_2.png) [@KLDivergence](https://discuss.bayesflow.org/u/KLDivergence)\
**Post date:** [March 9, 2024, 8:03pm UTC](https://discuss.bayesflow.org/t/cannot-generate-posterior-samples-after-training/68/21 "2024-03-09T20:03:15Z")

</div>

This happens only when there is something wrong with the validation data. Note, that the validation data also needs to interact with the `configurator` well.

---

<div class="post-metadata">

**Author:** ![wyy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wyy](https://discuss.bayesflow.org/u/wyy)\
**Post date:** [March 11, 2024, 3:34am UTC](https://discuss.bayesflow.org/t/cannot-generate-posterior-samples-after-training/68/23 "2024-03-11T03:34:41Z")

</div>

Thanks！！ That is also the data‘s problem.

[Previous page](https://discuss.bayesflow.org/t/cannot-generate-posterior-samples-after-training/68.md?page=1)
