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
│ 227 │ │ ) │
│ 228 │ │
│ 229 │ if not hasattr(main_module, "file") or not main_module._file │
│ ❱ 230 │ │ raise RuntimeError( │
│ 231 │ │ │ "Unable to determine source root because the main module d │
│ 232 │ │ │ "have an associated file. This could be because you're run │
│ 233 │ │ │ "an interactive Python environment."
What happened?
my code:
import os
import sys
from datetime import datetime as dt
from dask.distributed import LocalCluster, Client as DaskClient
from zenml.logger import get_logger
from zenml.client import Client
from zenml.integrations.mlflow.experiment_trackers import MLFlowExperimentTracker
│ 227 │ │ ) │
│ 228 │ │
│ 229 │ if not hasattr(main_module, "__file__") or not main_module.__file_ │
│ ❱ 230 │ │ raise RuntimeError( │
│ 231 │ │ │ "Unable to determine source root because the main module d ││ 232 │ │ │ "have an associated file. This could be because you're run ││ 233 │ │ │ "an interactive Python environment."
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Contact Details [Optional]
No response
System Information
│ 227 │ │ ) │
│ 228 │ │
│ 229 │ if not hasattr(main_module, "file") or not main_module._file │
│ ❱ 230 │ │ raise RuntimeError( │
│ 231 │ │ │ "Unable to determine source root because the main module d │
│ 232 │ │ │ "have an associated file. This could be because you're run │
│ 233 │ │ │ "an interactive Python environment."
What happened?
my code:
import os
import sys
from datetime import datetime as dt
from dask.distributed import LocalCluster, Client as DaskClient
from zenml.logger import get_logger
from zenml.client import Client
from zenml.integrations.mlflow.experiment_trackers import MLFlowExperimentTracker
experiment_tracker = Client().active_stack.experiment_tracker
from dask.distributed import LocalCluster, Client as DaskClient
def init_local_cluster(n_workers=6):
"""
if name == 'main':
"""
This is a runner for the pipline of nsi_evaluation.
Reproduction steps
...
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: