Skip to content

Instantly share code, notes, and snippets.

View Bartvelp's full-sized avatar

Bart Bartvelp

View GitHub Profile
$ rm -rf seq2species_new_weights_small_short/
$ DeepMicrobes.py --input_tfrec=combined_train_small_short.tfrec --model_name=seq2species --model_dir=seq2species_new_weights_small_short --max_len=400 --encode_method=one_hot &> error_redir.log
2020-05-31 18:39:03.937254: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
I0531 18:39:03.939836 46912496414336 tf_logging.py:115] Using config: {'_model_dir': 'seq2species_new_weights_small_short', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': 100000, '_save_checkpoints_secs': None, '_session_config': None, '_keep_checkpoint_max': 1000, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x2aaac308eef0>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '
2020-05-31 13:49:11.322663: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
I0531 13:49:11.325103 46912496414336 tf_logging.py:115] Using config: {'_model_dir': 'seq2species_new_weights_small_short', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': 100000, '_save_checkpoints_secs': None, '_session_config': None, '_keep_checkpoint_max': 1000, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x2aaac308cda0>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '_master': '', '_evaluation_master': '', '_is_chief': True, '_num_ps_replicas': 0, '_num_worker_replicas': 1}
W0531 13:49:11.326227 46912496414336 tf_logging.py:120] 'cpuinfo' not imported. CPU info will not be logged.
W0531 13:49:11.326476 4691
@Bartvelp
Bartvelp / zeit error log.txt
Created July 27, 2019 14:43
Error log zeit
user@Bart-HP MINGW64 ~/now
$ vue create vue-project-deleteme && cd vue-project-deleteme
Vue CLI v3.0.3
? Please pick a preset: barts-preset (vue-router, vuex, sass, babel, pwa, eslint
)
Vue CLI v3.0.3
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
.cast-button, .load-button {
max-width: 50px;
max-height: 50px;
}
</style>
@Bartvelp
Bartvelp / stream.php
Created May 10, 2018 17:13
PHP seekable stream external video with url and range header support
<?php
/*
Hi!
So this gist is not a very good implementation, it works great in chrome but the seeking is sort of glitched in firefox.
But it does the job and I hope it can help out!
(Please let me know how to improve this)
*/
ini_set('max_execution_time', 0);
$url = "http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.m4v"; //just some sample url, please dont overload their servers