Open psjadeja2024 opened 1 year ago
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?
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?