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
❯ bazel build //pip:pip --verbose_failures | |
INFO: Invocation ID: 1f41c117-577a-4751-9fb5-108254af44d8 | |
INFO: Build option --host_force_python has changed, discarding analysis cache. | |
DEBUG: /home/tomginsberg/beit2/b2/bazel/rules/cerebras/configure.bzl:22:14: Cannot find the Cerebras SDK image /opt/Cerebras-SDK-0.9.0-202310042355-11-3a7b5a4f/cbcore_sdk-0.9.0-202310042355-11-21c056e8.sif | |
DEBUG: /home/tomginsberg/beit2/b2/bazel/rules/cerebras/configure.bzl:6:14: Cerebras targets are not supported. | |
DEBUG: /home/tomginsberg/beit2/b2/bazel/compilation/configure.bzl:26:14: Cannot find GCC version 13. Falling back to /usr/bin/gcc with version 12. | |
INFO: Analyzed target //pip:pip (0 packages loaded, 443 targets configured). | |
INFO: Found 1 target... | |
ERROR: /home/tomginsberg/beit2/pip/BUILD:8:13: wheel pip==21.3.1 failed: (Exit 1): wheel failed: error executing command | |
(cd /home/tomginsberg/.cache/bazel/_bazel_tomginsberg/4c5c982af61c48e9e2e02938924e17e8/sandbox/linux-sandbox/5/execroot/beit2 && \ |
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 calendar | |
import datetime | |
import json | |
import os | |
import streamlit as st | |
import yaml | |
from time import sleep | |
from plotly import graph_objects as go | |
import numpy as np |
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
{'sizeof_hdr': array(348, dtype=int32), | |
'extents': array(0, dtype=int32), | |
'session_error': array(0, dtype=int16), | |
'dim_info': array(0, dtype=uint8), | |
'dim': array([ 3, 192, 156, 12, 1, 1, 1, 1], dtype=int16), | |
'intent_p1': array(0., dtype=float32), | |
'intent_p2': array(0., dtype=float32), | |
'intent_p3': array(0., dtype=float32), | |
'intent_code': array(0, dtype=int16), | |
'datatype': array(2, dtype=int16), |
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
27 | |
30 | |
31 | |
31 | |
32 | |
33 | |
35 | |
36 | |
37 | |
37 |
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 tensorflow as tf | |
from typing import Tuple, Optional | |
import tensorflow as tf | |
from tensorflow.keras import Sequential, Model | |
from tensorflow.keras.layers import Conv3D, BatchNormalization, ReLU, Dropout, Dense, GlobalAveragePooling3D | |
from tensorflow.keras.initializers import GlorotNormal | |
class BasicStem(Sequential): |
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 torch | |
from torch import tensor | |
from torch.nn.parameter import Parameter | |
import unittest | |
from unittest import TestCase | |
torch.manual_seed(42) | |
''' | |
Convolutions for augmented images |