pymedphys.labs -> pymedphys._experimental
"from IPython import display"
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import tensorflow as tf"
+ ]
+ },
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"import pymedphys\n",
- "from pymedphys.labs.autosegmentation import indexing, filtering, pipeline, mask"
+ "from pymedphys._experimental.autosegmentation import indexing, filtering, pipeline, mask"
]
},
{
"outputs": [],
"source": [
"testing_uids = structure_uids[0:2]\n",
- "print(testing_uids)\n",
"validation_uids = structure_uids[2:5]\n",
- "print(validation_uids)\n",
"training_uids = structure_uids[5::]\n",
- "print(training_uids)"
+ "\n",
+ "print(testing_uids)"
]
},
{
"metadata": {},
"outputs": [],
"source": [
+ "# NOTE TensorFlow is not yet installed as part of requirements\n",
+ "\n",
"testing = pipeline.create_dataset(\n",
" testing_ct_uids, structures_to_learn, expansion=mask_expansion)\n",
"\n",
" diagnostic_plotting(x_grid, y_grid, input_array, output_array)\n",
" plt.show()"
]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
}
],
"metadata": {
"kernelspec": {
- "display_name": "pymedphys-master",
+ "display_name": "pymedphys",
"language": "python",
- "name": "pymedphys-master"
+ "name": "pymedphys"
},
"language_info": {
"codemirror_mode": {
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.7.0"
+ "version": "3.8.2"
}
},
"nbformat": 4,
