Skip to content

Commit 093230a

Browse files
fix python path if working locally (#2691)
* fix python path if working locally * changelog updated * Update CHANGELOG.md --------- Co-authored-by: Dennis Bader <[email protected]>
1 parent cda8f81 commit 093230a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ but cannot always guarantee backwards compatibility. Changes that may **break co
1313

1414
- Added ONNX support for torch-based models with method `TorchForecastingModel.to_onnx()`. Check out [this example](https://unit8co.github.io/darts/userguide/gpu_and_tpu_usage.html#exporting-model-to-onnx-format-for-inference) from the user guide on how to export and load a model for inference. [#2620](https://github.com/unit8co/darts/pull/2620) by [Antoine Madrona](https://github.com/madtoinou)
1515
- Made method `ForecastingModel.untrained_model()` public. Use this method to get a new (untrained) model instance created with the same parameters. [#2684](https://github.com/unit8co/darts/pull/2684) by [Timon Erhart](https://github.com/turbotimon)
16+
- Made it possbile to run the quickstart notebook `00-quickstart.ipynb` locally. [#2691](https://github.com/unit8co/darts/pull/2691) by [Jules Authier](https://github.com/authierj)
1617

1718
**Fixed**
1819

examples/00-quickstart.ipynb

+12
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@
6262
"tags": []
6363
},
6464
"outputs": [],
65+
"source": [
66+
"# fix python path if working locally\n",
67+
"from utils import fix_pythonpath_if_working_locally\n",
68+
"\n",
69+
"fix_pythonpath_if_working_locally()"
70+
]
71+
},
72+
{
73+
"cell_type": "code",
74+
"execution_count": null,
75+
"metadata": {},
76+
"outputs": [],
6577
"source": [
6678
"%matplotlib inline\n",
6779
"\n",

0 commit comments

Comments
 (0)