We will not be using anacond, just classic old pip3
Works on python <= 3.8
Recomended OS: Fedora29(Have reached End of Life), Ubuntu 18.04(End of life: 2023). You can also use Later versions of same OS.
Step 1:
Install Nvidia Propiatary Drivers:
For ubuntu: link[https://medium.com/@redowan/no-bullshit-guide-on-installing-tensorflow-gpu-ubuntu-18-04-18-10-238924cc4a6a]. //Just follow the part where he shows how to install drivers.
For Fedora using optimus: link[https://www.reddit.com/r/Fedora/comments/ga1ek6/optimus_setting_the_nvidia_gpu_as_primary/]. I personally stopped before Step 8(in tutorial).
I know they are Lenghty process(may require several Reboots, but stay with me.
Step 2:
Install Cuda10.1 for tf2.2 and tf1.15{only for python<3.8}, using this link1[https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Linux]. A local .deb/.rpm method is recomended.
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 java.io.IOException; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.StackPane; | |
import javafx.scene.web.WebEngine; | |
import javafx.scene.web.WebView; | |
import javafx.stage.Stage; | |
public class Test extends Application { |
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 continuumio/miniconda3 | |
ENV APACHE_SPARK_VERSION 2.3.1 | |
ENV HADOOP_VERSION 2.7 | |
RUN apt-get -y update && \ | |
apt-get install --no-install-recommends -y openjdk-8-jre-headless ca-certificates-java && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* |
This blog benefits a lot from the helpful guidance from mdda and wangruohui.
The strategy presented below applies to the default desktop environment GNOME3 of Fedora 27, but may not work for others such as KDE Plasma. For instance, KDE tends to crash after installation of NVIDIA drivers. Actually, this is also confirmed by my own recent experience with Fedora KDE Plasma.
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 os | |
from sklearn.preprocessing import LabelEncoder | |
from torch.utils.data import Dataset | |
import torch | |
class TESNamesDataset(Dataset): | |
def __init__(self, data_root, charset): | |
self.data_root = data_root | |
self.charset = charset | |
self.samples = [] |
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
Date Quantity | |
2009-01 168,00 | |
2009-02 177,00 | |
2009-03 198,00 | |
2009-04 193,50 | |
2009-05 181,50 | |
2009-06 202,50 | |
2009-07 222,00 | |
2009-08 222,00 | |
2009-09 204,00 |
- Client (Customer)
- Load Balancer (Greeter)
- Data Center (Coffee Shop)
- Distributed Message Queue (Bulletin Board w/ Sticky Notes)
- Producer (Cashier)
- Consumer (Barista)
- Database (Ledger Book)
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
let country = "de"; // replace with 'at' for shops in Austria | |
let storeId = 251; | |
let param = args.widgetParameter; | |
if (param != null && param.length > 0) { | |
if (param.indexOf(";") > 0) { | |
const paramSplit = param.split(";"); | |
storeId = paramSplit[0]; | |
country = paramSplit[1].toLowerCase(); | |
} else { | |
storeId = param; |
OlderNewer