You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.data import Dataset, DataLoader
from torch.utils.data.dataset import random_split
import numpy as np
import random
import os
import sys
import matplotlib.pyplot as plt
sys.path.append(os.path.join(os.path.dirname("file"), '..'))
sys.path.append(os.path.join(os.path.dirname("file"), '..', '..'))
sys.path.append(os.path.join(os.path.dirname("file"), '..', '..', '..'))
try:
from scripts.utils import *
from scripts.burgers_numeric import *
from scripts.models import *
except:
from .scripts.utils import *
from .scripts.burgers_numeric import *
from .scripts.models import *
from pde_gen_control.data_burgers_1d import Burgers1DSimple, Burgers`
When run python /model/pde_1d_surrogate_model/burgers_operator.py --date_time "2024-01-09_1d_surrogate_partial_ob_partial_ctr_autoregress-3" --epochs 500 --gpu 0 --train_batch_size 151 --autoregress_steps 3 --dataset_path "/dataset_control_burgers/free_u_f_1e5_front_rear_quarter" --is_partially_observable 1 --is_partially_controllable 1 --lr 0.001
get ModuleNotFounderror: from pde_gen_control.data_burgers_1d import Burgers1DSimple, Burgers ModuleNotFoundError: No module named 'pde_gen_control'
The text was updated successfully, but these errors were encountered:
`import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.data import Dataset, DataLoader
from torch.utils.data.dataset import random_split
import numpy as np
import random
import os
import sys
import matplotlib.pyplot as plt
sys.path.append(os.path.join(os.path.dirname("file"), '..'))
sys.path.append(os.path.join(os.path.dirname("file"), '..', '..'))
sys.path.append(os.path.join(os.path.dirname("file"), '..', '..', '..'))
try:
from scripts.utils import *
from scripts.burgers_numeric import *
from scripts.models import *
except:
from .scripts.utils import *
from .scripts.burgers_numeric import *
from .scripts.models import *
from pde_gen_control.data_burgers_1d import Burgers1DSimple, Burgers`
When run python /model/pde_1d_surrogate_model/burgers_operator.py --date_time "2024-01-09_1d_surrogate_partial_ob_partial_ctr_autoregress-3" --epochs 500 --gpu 0 --train_batch_size 151 --autoregress_steps 3 --dataset_path "/dataset_control_burgers/free_u_f_1e5_front_rear_quarter" --is_partially_observable 1 --is_partially_controllable 1 --lr 0.001
get ModuleNotFounderror:
from pde_gen_control.data_burgers_1d import Burgers1DSimple, Burgers ModuleNotFoundError: No module named 'pde_gen_control'
The text was updated successfully, but these errors were encountered: