Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Combining fastai2 xresnet with deconv stem | |
Hosted here: https://gist.github.com/jwuphysics/eb388eb3dcee4ccac84f8174a6915bc6 | |
https://github.com/fastai/fastai2/blob/master/fastai2/vision/models/xresnet.py | |
https://github.com/yechengxi/deconvolution/blob/master/models/resnet.py | |
""" | |
from fastai2.vision.all import * | |
from deconvolution.models.deconv import FastDeconv # from `deconvolution` repo |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jax | |
import jax.numpy as jnp | |
import quarks2cosmos | |
import tensorflow_datasets as tfds | |
import tensorflow as tf | |
import haiku as hk | |
import optax | |
import pickle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastai import * | |
from fastai.tabular import * | |
from fastai.vision import * | |
PATH = os.path.abspath('..') | |
# distinguish categorical and continuous variables, and dependent variable | |
cat_names = ['cat1', 'cat2', 'cat3'] | |
cont_names =['cont1', 'cont2'] | |
dep_var = 'target' |
OlderNewer