fix connection problem.zoo
This commit is contained in:
committed by
Giovanni Canali
parent
caa67ace93
commit
09596a912c
@@ -24,9 +24,10 @@ inverse_problem = InversePoisson()
|
||||
inverse_problem.discretise_domain(10)
|
||||
|
||||
# reduce the number of data points to speed up testing
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
if hasattr(inverse_problem.conditions, "data"):
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
|
||||
# add input-output condition to test supervised learning
|
||||
input_pts = torch.rand(10, len(problem.input_variables))
|
||||
|
||||
@@ -35,9 +35,10 @@ inverse_problem = InversePoisson()
|
||||
inverse_problem.discretise_domain(10)
|
||||
|
||||
# reduce the number of data points to speed up testing
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
if hasattr(inverse_problem.conditions, "data"):
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
|
||||
# add input-output condition to test supervised learning
|
||||
input_pts = torch.rand(10, len(problem.input_variables))
|
||||
|
||||
@@ -24,9 +24,10 @@ inverse_problem = InversePoisson()
|
||||
inverse_problem.discretise_domain(10)
|
||||
|
||||
# reduce the number of data points to speed up testing
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
if hasattr(inverse_problem.conditions, "data"):
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
|
||||
# add input-output condition to test supervised learning
|
||||
input_pts = torch.rand(10, len(problem.input_variables))
|
||||
|
||||
@@ -23,9 +23,10 @@ inverse_problem = InversePoisson()
|
||||
inverse_problem.discretise_domain(10)
|
||||
|
||||
# reduce the number of data points to speed up testing
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
if hasattr(inverse_problem.conditions, "data"):
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
|
||||
# add input-output condition to test supervised learning
|
||||
input_pts = torch.rand(10, len(problem.input_variables))
|
||||
|
||||
@@ -24,9 +24,10 @@ inverse_problem = InversePoisson()
|
||||
inverse_problem.discretise_domain(10)
|
||||
|
||||
# reduce the number of data points to speed up testing
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
if hasattr(inverse_problem.conditions, "data"):
|
||||
data_condition = inverse_problem.conditions["data"]
|
||||
data_condition.input = data_condition.input[:10]
|
||||
data_condition.target = data_condition.target[:10]
|
||||
|
||||
# add input-output condition to test supervised learning
|
||||
input_pts = torch.rand(10, len(problem.input_variables))
|
||||
|
||||
Reference in New Issue
Block a user