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 sys import argv, exit | |
| import json | |
| if len(argv) < 2: | |
| exit() | |
| with open("out.jsonl", "w") as out: | |
| for arg in argv[1:]: | |
| print(arg) | |
| with open(arg, "r") as jsonl: |
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
| ==237901== Memcheck, a memory error detector | |
| ==237901== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
| ==237901== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info | |
| ==237901== Command: build/dnn_self_supervised_learning_ex data/cifar/cifar-10-binary/cifar-10-batches-bin/ | |
| ==237901== | |
| loaded CIFAR-10 training images: 50000 | |
| 1: 164.563 | |
| 2: 153.736 |
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 <dlib/cmd_line_parser.h> | |
| #include <dlib/data_io.h> | |
| #include <dlib/image_io.h> | |
| auto main(const int argc, const char** argv) -> int | |
| try | |
| { | |
| dlib::command_line_parser parser; | |
| parser.add_option("dataset", "path to the dataset XML file", 1); | |
| parser.add_option("workers", "number of threads (default: 8)", 1); |
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
| hook -group tilix-hooks global KakBegin .* %sh{ | |
| if [ -n "$TILIX_ID" ] && [ -z "$TMUX" ]; then | |
| echo "require-module tilix" | |
| fi | |
| } | |
| provide-module tilix %{ | |
| declare-option -docstring %{window type that tilix creates on new and repl calls (window|session|right|down|quake)} str tilix_window_type session |
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
| Jan 20 15:46:35.303 INFO Starting main event loop, module: kak_lsp::session:29 | |
| Jan 20 15:46:36.365 DEBG From editor: | |
| session = "377381" | |
| client = "client0" | |
| buffile = "/tmp/test/main.cpp" | |
| filetype = "cpp" | |
| version = 242 | |
| method = "textDocument/signatureHelp" | |
| [params.position] | |
| line = 13 |
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 <algorithm> | |
| #include <iostream> | |
| #include <dlib/data_io.h> | |
| #include <dlib/dnn.h> | |
| #include <dlib/gui_widgets.h> | |
| #include <dlib/matrix.h> | |
| using namespace std; | |
| using namespace dlib; |