Skip to content

Commit

Permalink
example.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
ashesh-0 committed Apr 10, 2024
1 parent b2401db commit b14de52
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 35 deletions.
84 changes: 49 additions & 35 deletions denoisplit/notebooks/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "781639b7",
"id": "4b02924d",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -23,17 +23,40 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6c41029d",
"id": "39252aa8",
"metadata": {},
"outputs": [],
"source": [
"# a useful library developed by Google for maintaining the ML configs.\n",
"! pip install ml-collections"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "23efb582",
"metadata": {
"lines_to_next_cell": 0
},
"outputs": [],
"source": [
"! git clone https://github.com/juglab/denoiSplit.git"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b6e41f1d",
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append('./denoiSplit')"
]
},
{
"cell_type": "markdown",
"id": "e476515a",
"id": "a0acec45",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -48,7 +71,7 @@
},
{
"cell_type": "markdown",
"id": "1debc036",
"id": "76107363",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -61,7 +84,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ca640ca1",
"id": "47dbd8fb",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -78,7 +101,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dce4c9ad",
"id": "84e96ca6",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -110,7 +133,7 @@
},
{
"cell_type": "markdown",
"id": "f34b5159",
"id": "ff6b18b2",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -131,7 +154,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5b29c8ac",
"id": "bcca8dc2",
"metadata": {
"lines_to_next_cell": 0
},
Expand Down Expand Up @@ -161,7 +184,7 @@
},
{
"cell_type": "markdown",
"id": "ffdb11fd",
"id": "e83242ab",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -173,7 +196,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "39660aee",
"id": "1ff3cd66",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -186,7 +209,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8ef74b46",
"id": "09035708",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -211,7 +234,7 @@
},
{
"cell_type": "markdown",
"id": "03002ea2",
"id": "a0dc243f",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -224,7 +247,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e5509b33",
"id": "0cec5ec5",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -236,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "6af80f83",
"id": "f9cde1e7",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -248,7 +271,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "49dfaf11",
"id": "817e538b",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -271,7 +294,7 @@
},
{
"cell_type": "markdown",
"id": "74513b03",
"id": "3c06421e",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -283,7 +306,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bd234250",
"id": "eca722a9",
"metadata": {
"lines_to_next_cell": 0
},
Expand Down Expand Up @@ -341,7 +364,7 @@
},
{
"cell_type": "markdown",
"id": "2287f57c",
"id": "c1c9bd5b",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -353,7 +376,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "27ed1e7a",
"id": "38df4c25",
"metadata": {
"lines_to_next_cell": 0
},
Expand Down Expand Up @@ -393,7 +416,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4518d1f5",
"id": "0d0866ed",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -414,7 +437,7 @@
},
{
"cell_type": "markdown",
"id": "9f921be4",
"id": "bb4a0b75",
"metadata": {
"cell_marker": "\"\"\""
},
Expand All @@ -430,7 +453,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bb55bc8a",
"id": "29754975",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -506,7 +529,7 @@
},
{
"cell_type": "markdown",
"id": "2884583e",
"id": "d1ce25bb",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -518,7 +541,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6ab248e8",
"id": "3dc1e50d",
"metadata": {
"lines_to_next_cell": 0
},
Expand Down Expand Up @@ -597,7 +620,7 @@
},
{
"cell_type": "markdown",
"id": "63530a5a",
"id": "d94ea88e",
"metadata": {
"cell_marker": "\"\"\"",
"lines_to_next_cell": 0
Expand All @@ -610,7 +633,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c4575b08",
"id": "dc3246db",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -633,15 +656,6 @@
"jupytext": {
"cell_metadata_filter": "all",
"main_language": "python"
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
6 changes: 6 additions & 0 deletions denoisplit/notebooks/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
# a useful library developed by Google for maintaining the ML configs.
! pip install ml-collections

# %%
! git clone https://github.com/juglab/denoiSplit.git
# %%
import sys
sys.path.append('./denoiSplit')

# %% [markdown]
"""
### Mandatory actions
Expand Down

0 comments on commit b14de52

Please sign in to comment.