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
# Works on OS X, with conda installed. | |
# Create conda environment for PyTorch Geometric | |
echo "Creating pyg environment" | |
conda create -n pyg python=3.6 | |
echo "Activate pyg Env" | |
source activate pyg | |
# PyTorch Conda Installation |
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
let dataObservable = Observable<String>.create { observer -> Disposable in | |
print("Feching data...") | |
DispatchQueue.global(qos: .background).asyncAfter(deadline: .now() + 2, execute: { | |
observer.onNext("Some data from the internet") | |
}) | |
return Disposables.create() | |
} | |
let dataDriver = dataObservable.asDriver(onErrorJustReturn: "") |
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
I guess I'll never come back here...: NEGATIVE | |
The view from where I was sit was just amazing: POSITIVE | |
The waiter was very friendly and kind: POSITIVE | |
The fish was rotten :/: NEGATIVE | |
Jon Snow is the King in the North!: POSITIVE |
NewerOlder