This file contains hidden or 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
generator client { | |
provider = "prisma-client-js" | |
} | |
datasource db { | |
provider = "postgresql" | |
url = env("DATABASE_URL") | |
directUrl = env("DIRECT_URL") | |
} |
This file contains hidden or 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 monai.networks.nets import UNETR as UNETR_monai | |
from self_attention_cv import UNETR | |
device = torch.device("cuda:0") | |
num_heads = 10 # 12 normally | |
embed_dim= 512 # 768 normally | |
# model = UNETR(img_shape=tuple(roi_size), input_dim=4, output_dim=3, | |
# embed_dim=embed_dim, patch_size=16, num_heads=num_heads, |
This file contains hidden or 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
#include <stdio.h> | |
#include "vector.c" | |
int main(void) { | |
int a; | |
int b; | |
char char1; | |
char char2; | |
vector v; | |
char string[50]; |
This file contains hidden or 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
# create a array for areas 500, 600, 750, 1000, 1250 | |
base_nodes=40 | |
base_area=500 | |
base_flow=20 | |
areas=(250 500 750 1000 1250) |
This file contains hidden or 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
# simulator | |
set ns [new Simulator] | |
# ====================================================================== | |
# Define options | |
set val(chan) Channel/WirelessChannel ;# channel type | |
set val(prop) Propagation/TwoRayGround ;# radio-propagation model | |
set val(ant) Antenna/OmniAntenna ;# Antenna type |