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

code error #11

Open
psjadeja2024 opened this issue Feb 24, 2023 · 0 comments
Open

code error #11

psjadeja2024 opened this issue Feb 24, 2023 · 0 comments

Comments

@psjadeja2024
Copy link

hello,

I try to run this "https://nbviewer.org/github/burke86/astrodet/blob/main/demo_decam.ipynb ". . in this code while i run

nsample = 3 # Number of example images to plot
fig, axs = plt.subplots(1, nsample, figsize=(5*nsample, 5))

for i, d in enumerate(random.sample(dataset_dicts['test'], nsample)):

an error comes " ValueError: Sample larger than population or is negative"

so how to fix it?

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

1 participant