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

Missing Files #8

Open
S-Stergiadis opened this issue Jan 17, 2025 · 0 comments
Open

Missing Files #8

S-Stergiadis opened this issue Jan 17, 2025 · 0 comments

Comments

@S-Stergiadis
Copy link

neural_net file does not exist at FractionalSDE/utils and causes the follwing import errors in the example notebooks:

In Step_by_step_example_with_evaluation.ipynb, from JDFLOW.FSDE import train_fsde leads to:


ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 37
35 from JDFLOW.evaluate.graphics import *
36 from JDFLOW.FourierFlows import FourierFlow
---> 37 from JDFLOW.FSDE import train_fsde
39 from Model import inverse_preprocessing,choose_data
41 import warnings

File ...\JDFlow\JDFLOW\FSDE.py:1
----> 1 from FractionalSDE.utils.neural_net import LatentFSDEfunc, LatentODEfunc, GeneratorRNN
2 from FractionalSDE.utils.neural_net import LatentSDEfunc, latent_dim, batch_dim, nhidden_rnn
3 from FractionalSDE.utils.utils import RunningAverageMeter, log_normal_pdf, normal_kl, calculate_log_likelihood

ModuleNotFoundError: No module named 'FractionalSDE.utils.neural_net'

Additionaly, trying to import the only available file at .../JDFlow/FractionalSDE gives another dependancy error:

import FractionalSDE.utils.fsde_solver leads to:


ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 import FractionalSDE.utils.fsde_solver

File ...\JDFlow\FractionalSDE\utils\fsde_solver.py:6
3 from os import stat, times
4 import itertools
----> 6 from fbm import FBM
7 import matplotlib.pyplot as plt
8 import numpy as np

ModuleNotFoundError: No module named 'fbm'

Similar issues arise when imports that depend on FractionalSDE.utils.neural_net are attempted, like :

from JDFLOW.evaluate.monte_carlo_sim import monte_carlo_train, monte_carlo_sample in Example_main.ipynb

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