-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
module: distributionsRelated to torch.distributionsRelated to torch.distributionsmodule: windowsWindows support for PyTorchWindows support for PyTorch
Description
Relevant snippet:
======================================================================
ERROR [0.034s]: test_binomial_sample (__main__.TestDistributions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "distributions/test_distributions.py", line 1060, in test_binomial_sample
self._check_sampler_discrete(Binomial(total_count=count, probs=prob),
File "distributions/test_distributions.py", line 812, in _check_sampler_discrete
chisq, p = scipy.stats.chisquare(counts[msk], pmf[msk] * num_samples)
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6852, in chisquare
return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis,
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6694, in power_divergence
raise ValueError(msg)
ValueError: For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are:
0.00010002000400080016
======================================================================
ERROR [0.000s]: test_geometric_sample (__main__.TestDistributions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "distributions/test_distributions.py", line 1042, in test_geometric_sample
self._check_sampler_discrete(Geometric(prob),
File "distributions/test_distributions.py", line 812, in _check_sampler_discrete
chisq, p = scipy.stats.chisquare(counts[msk], pmf[msk] * num_samples)
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6852, in chisquare
return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis,
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6694, in power_divergence
raise ValueError(msg)
ValueError: For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are:
0.008265582255680495
======================================================================
ERROR [0.000s]: test_poisson_gpu_sample (__main__.TestDistributions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "distributions/test_distributions.py", line 1362, in test_poisson_gpu_sample
self._check_sampler_discrete(Poisson(torch.tensor([rate]).cuda()),
File "distributions/test_distributions.py", line 812, in _check_sampler_discrete
chisq, p = scipy.stats.chisquare(counts[msk], pmf[msk] * num_samples)
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6852, in chisquare
return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis,
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6694, in power_divergence
raise ValueError(msg)
ValueError: For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are:
3.6727285765597826e-05
======================================================================
ERROR [0.000s]: test_poisson_sample (__main__.TestDistributions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "distributions/test_distributions.py", line 1352, in test_poisson_sample
self._check_sampler_discrete(Poisson(rate),
File "distributions/test_distributions.py", line 812, in _check_sampler_discrete
chisq, p = scipy.stats.chisquare(counts[msk], pmf[msk] * num_samples)
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6852, in chisquare
return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis,
File "C:\Jenkins\Miniconda3\lib\site-packages\scipy\stats\stats.py", line 6694, in power_divergence
raise ValueError(msg)
ValueError: For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are:
4.535600093557479e-05
cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411 @peterjc123 @mszhanyi @skyline75489 @nbcsm @fritzo @neerajprad @alicanb @nikitaved
Metadata
Metadata
Assignees
Labels
module: distributionsRelated to torch.distributionsRelated to torch.distributionsmodule: windowsWindows support for PyTorchWindows support for PyTorch