Skip to content

Why can't I use the load_tf_generator function after downloading the pyoxynet library? #4

Description

@Chusiyuan123

from pyoxynet import *
generator = load_tf_generator ()
df_gen, dict_gen = generate_CPET (generator)

“”“
Classic Oxynet configuration model uploaded
Could not find a model that could satisfy the input size required
Traceback (most recent call last):
File "d:/高级课设/pyoxynet/changshi.py", line 4, in
df_gen, dict_gen = generate_CPET(generator)
File "D:\Anaconda\envs\oxynet_env\lib\site-packages\pyoxynet\utilities.py", line 1210, in generate_CPET
p_mF, p_hF, p_sF = create_probabilities(d, VT1, VT2,
File "D:\Anaconda\envs\oxynet_env\lib\site-packages\pyoxynet\utilities.py", line 1004, in create_probabilities
pm_L3 = UnivariateSpline([step_1 + 120, VT1],
File "C:\Users\Lenovo\AppData\Roaming\Python\Python38\site-packages\scipy\interpolate_fitpack2.py", line 217, in init
x, y, w, bbox, self.ext = self.validate_input(x, y, w, bbox, k, s, ext,
File "C:\Users\Lenovo\AppData\Roaming\Python\Python38\site-packages\scipy\interpolate_fitpack2.py", line 242, in validate_input
raise ValueError("x must be increasing if s > 0")
ValueError: x must be increasing if s > 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions