duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
!pip install fastai | |
!apt-get -qq install -y libsm6 libxext6 && pip install -q -U opencv-python | |
import cv2 | |
from os import path | |
from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag | |
platform = '{}{}-{}'.format(get_abbr_impl(), get_impl_ver(), get_abi_tag()) | |
accelerator = 'cu80' if path.exists('/opt/bin/nvidia-smi') else 'cpu' | |
!pip install -q http://download.pytorch.org/whl/{accelerator}/torch-0.3.0.post4-{platform}-linux_x86_64.whl torchvision |
''' | |
Load Yelp JSON files and spit out CSV files | |
Does not try to reinvent the wheel and uses pandas json_normalize | |
Kinda hacky and requires a bit of RAM. But works, albeit naively. | |
Tested with Yelp JSON files in dataset challenge round 12: | |
https://www.yelp.com/dataset/challenge | |
''' | |
import json |
# install chromium, its driver, and selenium | |
!apt update | |
!apt install libu2f-udev libvulkan1 | |
!wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
!dpkg -i google-chrome-stable_current_amd64.deb | |
!wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/118.0.5993.70/linux64/chromedriver-linux64.zip | |
!unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver -d /usr/local/bin/ | |
!pip install selenium chromedriver_autoinstaller | |
# set options to be headless, .. |
Go to your IAS tenant admin page: https://mytenant.accounts.ondemand.com/admin
Go to Applications & Resources -> Tenant Settings -> OpenID Connect Configuration, and select the Name value from a dropdown list. Choose the one starting with https.
Go to Applications & Resources -> Applications and add new Application. Name it (e.g. kyma) and configure it:
email
(not mail
), and First Name to name
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 681 bytes | 681.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torchvision.models as models | |
class EncoderCNN(nn.Module): | |
def __init__(self, embed_size): | |
# super(EncoderCNN, self).__init__() | |
super().__init__() |
👉 for the course projcts, Unity MLAgents - Banana Collector
, etc.
👉 go to the Banana and VisualBanana notebooks
👉 go to the course repo
👉 check course curriculum
Window 11, VSCode, Minicoda, Powershell