Error while running train.py

(sample) C:\sample\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
Traceback (most recent call last):
File "train.py", line 51, in
from object_detection.builders import model_builder
File "D:\Users\Admin\Anaconda\envs\sample\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\builders\model_builder.py", line 31, in
from object_detection.models import faster_rcnn_inception_resnet_v2_feature_extractor as frcnn_inc_res
File "D:\Users\Admin\Anaconda\envs\sample\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\models\faster_rcnn_inception_resnet_v2_feature_extractor.py", line 28, in
from nets import inception_resnet_v2
ModuleNotFoundError: No module named 'nets'
What should I do? Thanks!

https://github.com/tensorflow/models/issues/1842#issuecomment-377925135

hello gjcasoy did you have problem ?  ı have same problem ı can not understand  :(

Dear, thank you for the tutorial, i'm getting the following error while training, waiting for your help
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py:125: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\legacy\trainer.py:266: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\builders\dataset_builder.py:86: parallel_interleave (from tensorflow.contrib.data.python.ops.interleave_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.data.experimental.parallel_interleave(...).
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\legacy\trainer.py:65: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\core\batcher.py:96: batch (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by tf.data. Use tf.data.Dataset.batch(batch_size) (or padded_batch(...) if dynamic_pad=True).
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\input.py:753: QueueRunner.init (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data module.
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\input.py:753: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data module.
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\image_ops_impl.py:1055: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:depth of additional conv before box predictor: 0
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\contrib\layers\python\layers\layers.py:1624: flatten (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.flatten instead.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\core\losses.py:345: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\gradients_impl.py:110: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\meta_architectures\faster_rcnn_meta_arch.py:2597: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.get_or_create_global_step
WARNING:root:Variable [Conv/biases/Momentum] is not available in checkpoint
WARNING:root:Variable [Conv/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageBoxPredictor/BoxEncodingPredictor/biases/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageBoxPredictor/BoxEncodingPredictor/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageBoxPredictor/ClassPredictor/biases/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageBoxPredictor/ClassPredictor/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_1a_7x7/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_1a_7x7/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_1a_7x7/depthwise_weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_1a_7x7/pointwise_weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Conv2d_2c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3b/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_3c/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_1a_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_1a_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_0/Conv2d_1a_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_1a_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_1a_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4a/Branch_1/Conv2d_1a_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4b/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4c/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4d/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [FirstStageFeatureExtractor/InceptionV2/Mixed_4e/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageBoxPredictor/BoxEncodingPredictor/biases] is available in checkpoint, but has an incompatible shape with model variable. Checkpoint shape: [[360]], model variable shape: [[4]]. This variable will not be initialized from the checkpoint.
WARNING:root:Variable [SecondStageBoxPredictor/BoxEncodingPredictor/biases/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageBoxPredictor/BoxEncodingPredictor/weights] is available in checkpoint, but has an incompatible shape with model variable. Checkpoint shape: [[1024, 360]], model variable shape: [[1024, 4]]. This variable will not be initialized from the checkpoint.
WARNING:root:Variable [SecondStageBoxPredictor/BoxEncodingPredictor/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageBoxPredictor/ClassPredictor/biases] is available in checkpoint, but has an incompatible shape with model variable. Checkpoint shape: [[91]], model variable shape: [[2]]. This variable will not be initialized from the checkpoint.
WARNING:root:Variable [SecondStageBoxPredictor/ClassPredictor/biases/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageBoxPredictor/ClassPredictor/weights] is available in checkpoint, but has an incompatible shape with model variable. Checkpoint shape: [[1024, 91]], model variable shape: [[1024, 2]]. This variable will not be initialized from the checkpoint.
WARNING:root:Variable [SecondStageBoxPredictor/ClassPredictor/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_1a_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_1a_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_0/Conv2d_1a_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_1a_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_1a_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5a/Branch_1/Conv2d_1a_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5b/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_0/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_0/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_1/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0a_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0a_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0b_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0b_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0b_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0c_3x3/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0c_3x3/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_2/Conv2d_0c_3x3/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_3/Conv2d_0b_1x1/BatchNorm/gamma/Momentum] is not available in checkpoint
WARNING:root:Variable [SecondStageFeatureExtractor/InceptionV2/Mixed_5c/Branch_3/Conv2d_0b_1x1/weights/Momentum] is not available in checkpoint
WARNING:root:Variable [global_step] is not available in checkpoint
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py:737: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py:737: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from training/model.ckpt-0
INFO:tensorflow:Restoring parameters from training/model.ckpt-0
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\saver.py:1070: get_checkpoint_mtimes (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file utilities to get mtimes.
WARNING:tensorflow:From c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\saver.py:1070: get_checkpoint_mtimes (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file utilities to get mtimes.
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
INFO:tensorflow:Done running local_init_op.
INFO:tensorflow:Starting Session.
INFO:tensorflow:Starting Session.
INFO:tensorflow:Saving checkpoint to path training/model.ckpt
INFO:tensorflow:Saving checkpoint to path training/model.ckpt
INFO:tensorflow:Starting Queues.
INFO:tensorflow:Starting Queues.
INFO:tensorflow:global_step/sec: 0
INFO:tensorflow:global_step/sec: 0
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.InvalidArgumentError'>, assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
[[{{node case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert}}]]
[[{{node IteratorGetNext}}]]
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.InvalidArgumentError'>, assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
[[{{node case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert}}]]
[[{{node IteratorGetNext}}]]
INFO:tensorflow:Caught OutOfRangeError. Stopping Training. FIFOQueue '_5_prefetch_queue' is closed and has insufficient elements (requested 1, current size 0)
[[node prefetch_queue_Dequeue (defined at C:\tensorflow1\models\research\object_detection\core\batcher.py:111) ]]
Caused by op 'prefetch_queue_Dequeue', defined at:
File "train.py", line 184, in
tf.app.run()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 291, in train
clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])
File "C:\tensorflow1\models\research\slim\deployment\model_deploy.py", line 193, in create_clones
outputs = model_fn(*args, **kwargs)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 181, in _create_losses
train_config.use_multiclass_scores)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 124, in get_inputs
read_data_list = input_queue.dequeue()
File "C:\tensorflow1\models\research\object_detection\core\batcher.py", line 111, in dequeue
batched_tensors = self._queue.dequeue()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 445, in dequeue
self._queue_ref, self._dtypes, name=name)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 4270, in queue_dequeue_v2
timeout_ms=timeout_ms, name=name)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
OutOfRangeError (see above for traceback): FIFOQueue '_5_prefetch_queue' is closed and has insufficient elements (requested 1, current size 0)
[[node prefetch_queue_Dequeue (defined at C:\tensorflow1\models\research\object_detection\core\batcher.py:111) ]]
INFO:tensorflow:Caught OutOfRangeError. Stopping Training. FIFOQueue '_5_prefetch_queue' is closed and has insufficient elements (requested 1, current size 0)
[[node prefetch_queue_Dequeue (defined at C:\tensorflow1\models\research\object_detection\core\batcher.py:111) ]]
Caused by op 'prefetch_queue_Dequeue', defined at:
File "train.py", line 184, in
tf.app.run()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 291, in train
clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])
File "C:\tensorflow1\models\research\slim\deployment\model_deploy.py", line 193, in create_clones
outputs = model_fn(*args, **kwargs)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 181, in _create_losses
train_config.use_multiclass_scores)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 124, in get_inputs
read_data_list = input_queue.dequeue()
File "C:\tensorflow1\models\research\object_detection\core\batcher.py", line 111, in dequeue
batched_tensors = self._queue.dequeue()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 445, in dequeue
self._queue_ref, self._dtypes, name=name)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 4270, in queue_dequeue_v2
timeout_ms=timeout_ms, name=name)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
OutOfRangeError (see above for traceback): FIFOQueue '_5_prefetch_queue' is closed and has insufficient elements (requested 1, current size 0)
[[node prefetch_queue_Dequeue (defined at C:\tensorflow1\models\research\object_detection\core\batcher.py:111) ]]
INFO:tensorflow:Finished training! Saving model to disk.
INFO:tensorflow:Finished training! Saving model to disk.
c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\summary\writer\writer.py:386: UserWarning: Attempting to use a closed FileWriter. The operation will be a noop unless the FileWriter is explicitly reopened.
warnings.warn("Attempting to use a closed FileWriter. "
Traceback (most recent call last):
File "train.py", line 184, in
tf.app.run()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\util\deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
File "C:\tensorflow1\models\research\object_detection\legacy\trainer.py", line 416, in train
saver=saver)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py", line 785, in train
ignore_live_threads=ignore_live_threads)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\supervisor.py", line 832, in stop
ignore_live_threads=ignore_live_threads)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\six.py", line 693, in reraise
raise value
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\training\queue_runner_impl.py", line 257, in _run
enqueue_callable()
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py", line 1257, in _single_operation_run
self._call_tf_sessionrun(None, {}, [], target_list, None)
File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
[[{{node case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert}}]]
[[{{node IteratorGetNext}}]]


Fix failed case expression

#268

Hello @mad,
thank you for pointing this out, only simple functions should be inlined.
resolves #268
Merged to tinkerpop334 branch as well.


Automated cherry pick of #2495: appsrv: 反转义path segs

Cherry pick of #2495 on release/2.12.
#2495: appsrv: 反转义path segs

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@cbe085c). Click here to learn what that means.
The diff coverage is 75%.

@@              Coverage Diff               @@
##             release/2.12   #2496   +/-   ##
==============================================
  Coverage                ?   7.08%
==============================================
  Files                   ?     456
  Lines                   ?   71851
  Branches                ?       0
==============================================
  Hits                    ?    5088
  Misses                  ?   66345
  Partials                ?     418

Flag
Coverage Δ

#aFlag
7.08% <75%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guest_actions.go
0% <0%> (ø)

pkg/appsrv/appsrv.go
46.15% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbe085c...1bc58ae. Read the comment docs.

/lgtm

/approve


Time control is not sufficiently described in PGN Spec

See section TimeControl and compare that (at least) with:

What options have current DGT clocks?
How about 2h/1h+30s as used in some tournaments (2 hours for first 40 moves, then 1 hour for the rest, with an increment for each move of 30 seconds? See Fide Handbook with exactly that one example ...
Mentioning in Laws of Chess, section 6.2.b (which is named Bronstein mode in DGT clocks)

The time saved by a player during one period is added to his time available for the next period, except in the ‘time delay’ mode

Ok, after reading the whole section of the spec again, let us try to create some examples:

German leagues (90 minutes with incr. 30 seconds, last period 30 minutes):

40/5400+30:1800+30
or 40/4500:1800+30
I think the first one is the correct one (what if the increment is only valid for the sudden death phase??)

Blitz (3+2)

180+2: Use seconds all the time.

German league (former time control) 2 hours / 40, 1 hour / 20, rest 30 minutes, no increment.
40/7200:20/3600:1800


Updated Contact Page [SCSE-69]

Edited were made to the Footer and Map components.
Contact Page is updated with required components such as Footer and Map component and other elements to resemble the original contact page.
[SCSE-69]

TO DO: add in FAQ component


posting raw JSON bodies not possible without using positional arguments - rails 5.0, rspec 3.6

It is possible to post json bodies without using positional arguments in rspec version 3.6.0 on rails 5.0.5
I saw @JonRowe 's recommendation in https://github.com/rspec/rspec-rails/issues/1650, but this dosen't  actually populate the body when I am reading it from the controller.
post '/some_endpoint', body:  {id:  1}.to_json, format: :json
request.body.read returns a query string => body=%7B%22id%22%3A1%7D&format=json
post '/v1/product/framings/', framing_params.to_json, format: :json
request.body.read  => {"id":1} but raises the warning:
Using positional arguments in integration tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1

My gemfile.lock:
    rspec-rails (3.6.0)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec-core (~> 3.6.0)
      rspec-expectations (~> 3.6.0)
      rspec-mocks (~> 3.6.0)
      rspec-support (~> 3.6.0)

I'm running into similar problems actually, and I'm also looking for a way around this.
I'm trying to post a JSON body that has an array as top level object (see https://github.com/rspec/rspec-core/issues/2458).
Test Setup
let(:endpoint_json) do
  [
      {
        "source_subregion": 'Oklahoma',
        "source_reach": 0,
        "source_name": 'Norman Observer',
        "source_information_type": 'news',
        "source_country_code": 'us',
        "metadata": {
          "search_name": '01) Supplier',
          "search_id": 2_727_969,
          "hook_id": 'f77ab22ba62684b35a3743ce6f41f18d800e977b'
        },
        "document_url": 'http://normanobserver.com/analysts-see-2-03-eps-for-watsco-wso-denver-investment-advisors-trimmed-agilent-technologies-a-holding/',
        "document_title": 'Analysts See $2.03 EPS for Watsco (WSO), Denver Investment Advisors Trimmed Agilent Technologies (A) Holding',
        "document_sentiment": 'neutral',
        "document_publish_date": '2017-07-19T10:26:27.937Z',
        "document_opening_text": 'Denver Investment Advisors Llc decreased Agilent Technologies Inc (A) stake by 27.36% reported in 2016Q4 SEC filing. Denver Investment...',
        "document_matched_keywords": ['A in', 'Buy', 'firm'],
        "document_language_code": 'en',
        "document_key_phrases": [
          { "relevance": 0.8547191703197672, "phrase": '” rating'},
          { "relevance": 0.8386967921058046, "phrase": 'Watsco Inc’s analysts' },
          { "relevance": 0.8232013419439597, "phrase": 'Agilent Technologies Inc' },
          { "relevance": 0.8147191703197671, "phrase": 'Buy” rating' },
          { "relevance": 0.799491900000467, "phrase": 'stock' },
          { "relevance": 0.7983554547916699, "phrase": 'shares' },
          { "relevance": 0.7959034696485439, "phrase": 'Analysts' },
          { "relevance": 0.7776051777228943, "phrase": 'Watsco Inc' },
          { "relevance": 0.6676763159365867, "phrase": 'equipment products' },
          { "relevance": 0.6430989199874523, "phrase": 'Kalmar Investments Inc De' }
        ],
        "document_image_link": 'http://normanobserver.com/wp-content/uploads/2017/07/WSO-Chart.jpg',
        "document_id": 'fThrkvtoal3MTu4-A4uNIMJppDY',
        "document_hit_sentence": '” rating. Deutsche Bank initiated the shares of A in report on Wednesday, January 18 with “Buy” rating. The firm has “Outperform” rating by',
        "document_author": 'Richard Conner'
      }
    ]
end

The above snippet is basically the JSON we are receiving from an endpoint that makes callbacks to our application. So I wanted to write a test for my controller to check whether the implementation is done correctly.
However this turns out to be no small feat actually.
I based myself on the RSpec Documentation
Attempt 1
it 'creates a new instance of my object` do
  expect do
    post :create, params: endpoint_json.to_json, headers: { 'CONTENT_TYPE' => 'application/json', 'ACCEPT' => 'application/json' }
   end.to(change { MyObject.count }.by(1))
end

Except this doesn't work because it raises the following error for me:
NoMethodError: undefined method `symbolize_keys' for #<String:0x007feb2b073f00>

Attempt 2
Okay fine, so it doesn't like the string to be injected directly.
Can we just give it the object and trust RSpec and Rspec-Rails to convert it for us?
it 'creates a new instance of my object` do
  expect do
    post :create, params: endpoint_json., headers: { 'CONTENT_TYPE' => 'application/json', 'ACCEPT' => 'application/json' }
   end.to(change { MyObject.count }.by(1))
end

Apparently not:
NoMethodError: undefined method `symbolize_keys' for #<Array:0x007fd79daa5d80>

Attempt 3
Okay, perhaps the code is getting confused with which parameter goes where...
it 'creates a new instance of my object` do
  expect do
    post :create, { params: endpoint_json }, { headers: { 'CONTENT_TYPE' => 'application/json', 'ACCEPT' => 'application/json' } }
   end.to(change { MyObject.count }.by(1))
end

This got rid of the errors at least, but introduces a different problem.
Breaking into the controller, and looking at the data received, this is what the console shows:
request.format
=> #<Mime::Type:0x007f85b88d03e8 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=3390589049612789453>

0> request.content_type
=> "application/x-www-form-urlencoded"

0> params
=> <ActionController::Parameters {"params"=>[{"document_author"=>"Richard Conner", "document_hit_sentence"=>"” rating. Deutsche Bank initiated the shares of A in report on Wednesday, January 18 with “Buy” rating. The firm has “Outperform” rating by", "document_id"=>"fThrkvtoal3MTu4-A4uNIMJppDY", "document_image_link"=>"http://normanobserver.com/wp-content/uploads/2017/07/WSO-Chart.jpg", "document_key_phrases"=>[{"phrase"=>"” rating", "relevance"=>"0.8547191703197672"}, {"phrase"=>"Watsco Inc’s analysts", "relevance"=>"0.8386967921058046"}, {"phrase"=>"Agilent Technologies Inc", "relevance"=>"0.8232013419439597"}, {"phrase"=>"Buy” rating", "relevance"=>"0.8147191703197671"}, {"phrase"=>"stock", "relevance"=>"0.799491900000467"}, {"phrase"=>"shares", "relevance"=>"0.7983554547916699"}, {"phrase"=>"Analysts", "relevance"=>"0.7959034696485439"}, {"phrase"=>"Watsco Inc", "relevance"=>"0.7776051777228943"}, {"phrase"=>"equipment products", "relevance"=>"0.6676763159365867"}, {"phrase"=>"Kalmar Investments Inc De", "relevance"=>"0.6430989199874523"}], "document_language_code"=>"en", "document_matched_keywords"=>["A in", "Buy", "firm"], "document_opening_text"=>"Denver Investment Advisors Llc decreased Agilent Technologies Inc (A) stake by 27.36% reported in 2016Q4 SEC filing. Denver Investment...", "document_publish_date"=>"2017-07-19T10:26:27.937Z", "document_sentiment"=>"neutral", "document_title"=>"Analysts See $2.03 EPS for Watsco (WSO), Denver Investment Advisors Trimmed Agilent Technologies (A) Holding", "document_url"=>"http://normanobserver.com/analysts-see-2-03-eps-for-watsco-wso-denver-investment-advisors-trimmed-agilent-technologies-a-holding/", "metadata"=>{"hook_id"=>"f77ab22ba62684b35a3743ce6f41f18d800e977b", "search_id"=>"2727969", "search_name"=>"01) Supplier"}, "source_country_code"=>"us", "source_information_type"=>"news", "source_name"=>"Norman Observer", "source_reach"=>"0", "source_subregion"=>"Oklahoma"}], "controller"=>"callbacks", "action"=>"create"} permitted: false>

0> params[:params]
=> [
  <ActionController::Parameters {
    "document_author"=>"Richard Conner",
    "document_hit_sentence"=>"” rating. Deutsche Bank initiated the shares of A in report on Wednesday, January 18 with “Buy” rating. The firm has “Outperform” rating by",
    "document_id"=>"fThrkvtoal3MTu4-A4uNIMJppDY",
   "document_image_link"=>"http://normanobserver.com/wp-content/uploads/2017/07/WSO-Chart.jpg",
   "document_key_phrases"=>[
      {"phrase"=>"” rating", "relevance"=>"0.8547191703197672"},
      {"phrase"=>"Watsco Inc’s analysts", "relevance"=>"0.8386967921058046"},
      {"phrase"=>"Agilent Technologies Inc", "relevance"=>"0.8232013419439597"},
      {"phrase"=>"Buy” rating", "relevance"=>"0.8147191703197671"},
      {"phrase"=>"stock", "relevance"=>"0.799491900000467"}, {"phrase"=>"shares", "relevance"=>"0.7983554547916699"},
      {"phrase"=>"Analysts", "relevance"=>"0.7959034696485439"},
      {"phrase"=>"Watsco Inc", "relevance"=>"0.7776051777228943"},
      {"phrase"=>"equipment products", "relevance"=>"0.6676763159365867"},
      {"phrase"=>"Kalmar Investments Inc De", "relevance"=>"0.6430989199874523"}],
   "document_language_code"=>"en",
   "document_matched_keywords"=>["A in", "Buy", "firm"],
   "document_opening_text"=>"Denver Investment Advisors Llc decreased Agilent Technologies Inc (A) stake by 27.36% reported in 2016Q4 SEC filing. Denver Investment...",
   "document_publish_date"=>"2017-07-19T10:26:27.937Z",
   "document_sentiment"=>"neutral",
   "document_title"=>"Analysts See $2.03 EPS for Watsco (WSO), Denver Investment Advisors Trimmed Agilent Technologies (A) Holding",
   "document_url"=>"http://normanobserver.com/analysts-see-2-03-eps-for-watsco-wso-denver-investment-advisors-trimmed-agilent-technologies-a-holding/",
   "metadata"=>{
      "hook_id"=>"f77ab22ba62684b35a3743ce6f41f18d800e977b",
      "search_id"=>"2727969",
      "search_name"=>"01) Supplier"
     },
    "source_country_code"=>"us",
    "source_information_type"=>"news",
    "source_name"=>"Norman Observer",
    "source_reach"=>"0",
    "source_subregion"=>"Oklahoma"} permitted: false>]

The problems:

The headers I injected are completely ignored by Rails or not passed through. I submitted JSON, not url-form-encoded content
The parameters are weird. I expect my params hash to represent what I submitted, not this nested StrongParamter structure again. I can work with it, but it feels wrong.
The way I had to write my spec is going against the documentation and ruby way. I have to be too specific to get something going and it feels wrong.

Update
I've changed my spec into the following:
  describe '#create' do
    it 'creates a new research-hit with the provided data' do
      expect do
        headers = { CONTENT_TYPE: 'application/json', ACCEPT: 'application/json' }
        post :create, body: meltwater_data.to_json, headers: headers
      end.to(change { ResearchHit::Hit.count }.by(1))
    end
  end

But this forces me to do the following in my controller:
  def create
    formatted_data.each do |data|
      form_factory.hit_form(extract_data(data)).create
    end

    head(:created)
  rescue StandardError => e
    Rails.logger.error(message: 'Failed to parse Meltwater Callback', error: e.message)
    head(:bad_request)
  end

  protected

  # Parses the raw body of the request as JSON.
  # If this fails for whatever reason, the action will return a Bad Request response.
  # Need to do it this way because Rails apparently cannot do this properly on it's own.
  def formatted_data
    JSON.parse(request.raw_post, symbolize_names: true)
  end

  # Extracts the information from the posted data set needed to properly construct ResearchHit object.
  # The information is based on the original ::ResearchHub::Meltwater::MailImporter, tweaked for the structure we need.
  def extract_data(data)
    {
      research_source_id: ::ResearchSource.meltwater.id,
      category: data[:source_information_type],
      topic: data[:document_title],
      source: data[:source_name],
      message: data[:document_opening_text],
      keywords: data[:document_key_phrases].map { |x| x[:phrase] }.flatten,
      link: data[:document_url]
    }
  end

Because otherwise I simply cannot rely on Rails to get me the data in a convenient way.
Is this really the way to do this?

Hi @coding-bunny this works for me to send JSON array in body
Example:
curl -X POST -H 'Content-type: application/json' localhost:3000/create_posts -d  '[ { "title": 'title' } ]'

When i send array in de body rails parse the body like this
<ActionController::Parameters {"_json"=>[{"title"=> "title"}], "controller"=>"posts", "action"=>"create_posts" } permitted: false>

This works for me in Controller test
      it "returns http success" do
        post :create_posts, params: { _json: [ { title: 'title' } ] }
        expect(response).to have_http_status(:success)
      end

Take a closer look at the posted request in your test case.  Here is an example request spec, but I believe the gist of it is:
https://github.com/Rio517/rspec-example-issue-1852
 context 'with params' do
      it 'receives a body' do
        sample_body = {data: {title: 'book title', author: 'John Doe'}}
        post :create, params: sample_body
        expect(response).to have_http_status(:success)
        expect(response.body).to eq(sample_body.to_json.to_s)
      end
    end

which results in:
  1) BooksController#show with params with params receives a body
     Failure/Error: expect(response.body).to eq(sample_body.to_json.to_s)

       expected: "{\"data\":{\"title\":\"book title\",\"author\":\"John Doe\"}}"
            got: "data%5Bauthor%5D=John+Doe&data%5Btitle%5D=book+title"

       (compared using ==)
     # ./spec/controllers/books_controller_spec.rb:13:in `block (4 levels) in <top (required)>'

  2) Books #show with params with params receives a body
     Failure/Error: expect(response.body).to eq(sample_body.to_json.to_s)

       expected: "{\"data\":{\"title\":\"book title\",\"author\":\"John Doe\"}}"
            got: "data[title]=book+title&data[author]=John+Doe"

       (compared using ==)
     # ./spec/requests/books_spec.rb:13:in `block (4 levels) in <top (required)>'

Related: If you extend this case to try to pass a json string to params in a controller spec, you get an error. Seems params expects a hash. This effectively leaves one with no way to json in the body - at least that I'm aware of. See: https://github.com/Rio517/rspec-example-issue-1852/commit/9ac54a1a9afbe5019ab1329464a2dd3daf427bc4

The format of the options used depends on your Rails version, its all Rails code. You usually need to tell Rails its json you are sending with format: :json or as: :json


Wireless ADB gives "NoSuchMethodException", and a few minutes later "Warn: Device disconnected"

[x ] I have read the FAQ.
[x ] I have searched in existing issues.

Environment

OS: Windows 11
scrcpy version: 1.22
installation method: Windows release
device model: Pixel 7
Android version: 13

Describe the bug
When connecting ADB over Wifi, scrcpy will usually connect for a few minutes, then disconnect with the WARN: Device disconnected message. However, the console outputs some lines with errors before that, so I don't know if there's anything I need to change to make it run better and hopefully stop crashing? I haven't been able to capture logcat for it, but here is the full CMD output:
C:\Program Files\SCRCPY\scrcpy-server: 1 file pushed, 0 skipped. 3.4 MB/s (40955 bytes in 0.012s)
[server] INFO: Device: Google Pixel 7 (Android 13)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int]
        at java.lang.Class.getMethod(Class.java:2103)
        at java.lang.Class.getMethod(Class.java:1724)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:103)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:111)
        at com.genymobile.scrcpy.Device.<init>(Device.java:103)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:64)
        at com.genymobile.scrcpy.Server.main(Server.java:326)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2400
WARN: Device disconnected

Is there an issue that I can address regarding the NoSuchMethodException?

Nevermind, just saw #3497. I'll update to v1.25 and only reopen the issue if that doesn't fix it.

Updating to v1.25 did fix the method error, but I'm still seeing device disconnected after a few minutes. Checking with adb devices, I can see that my device is still actively connected to ADB. It's just scrcpy that seems to have disconnected for some reason.
I acknowledge this isn't much info to go on, so I'll reopen this once I have some logcat output to share.

Run adb shell or adb logcat in a separate terminal while running scrcpy? Does the command terminate at the same time as scrcpy? If so, it's an adb disconnection.


[NEW ICON] Skill Name

Skill Name
VHDL and Verlog
Why?
these are the most popular hardware description languages
Reference Image
No response

thanks for your work


Tailwind colors with 3 words prefix not handled

Hi, I just came across ring-offset-purple-500 which is not of the pattern word-word-number, but word-word-word-number.  :/
There is always an exception to the rule, should haven known that.
There is always a regex to make thinks worse, so you could use (\w+\W?\w*)\W(\w+\W\d{2,3}) .
If you think this is a valid solution, let me know, I'd like to open a PR.

Seems to be inline with the current approach, so yeah may as well go for it I think! If you're still up for a PR that would definitely be welcome!

just opened #28

Fixed by #28.

Thanks so much!


1070 - relogin after logout via ignoring rememberMe appId input

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #1070
Type
Bug fix
Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@dubdabasoduba I have also add unit tests for my changes,
and overall project coverage is +0.05, though patch is at 33%, I can't find more lines to cover with my changes in this PR,
@maimoonak , @owais-vd , can you guys hint/point me, so I can update this PR,
cc: @f-odhiambo , @kwasim


Which pytorch_lightning version

Thanks for your great work. I try to reproduce the training process but stuck by version of pytorch_lightning.  Available names are: cpu, cuda, hpu, ipu, mps, tpu.
Which version is the stable one for your work?

I get pytorch_lightning==1.5.10 is ok. Close the issue


Crashes on A14 S24U + Few Improvement Advices

I got s24U and when i flash this module.  After the first boot when i'm into my rom after a while phone freezes and shuts down. At yakt.log the last output that i got is;
"Applying tweak for perf_cpu_time_max_percent".
In the yakt-loggin-error.log file i get;
/proc/sys/kernel/sched_autogroup_enabled does not exists
/proc/sys/kernel/sched_migration_cost_ns does not exists
/proc/sys/kernel/sched_min_granularity_ns does not exists
/proc/sys/kernel/sched_wakeup_granularity_ns does not exists
/proc/sys/kernel/sched_nr_migrate does not exists
As i read trough the code i saw something about swap space as higher end phones doesn't really need swap spaces. There should be an option for deleting swap spaces while installing module. Some kind of interactive install something similar to viperaudio(+3-4GB is more than enough and for sure doesn't need any swap space). Deleting swap spaces will improve the performance because swap space doesn't works after when you full up your ram, it divides the flow + removing swap space would most likely to imrpove storage speed too.
And this module can be merged into this one as they are doing so much in similar. It would be nice to see these "Set Activity Manager's max. cached process number to 256 (instead of the default 32 (or even lower 24.. Pixel has 64) and Set phantom processes to the max. possible value to prevent their unintentional killing." modifications in this module.
I'm willing contribute but failed to navigate where does the main module file. I just saw yakt.sh but that is an whole file for logging doesn't seem to find where parameter patching happens.

Hey @SupFlynn ,
Sorry for late reply but thank you for letting me know the issue that u had, I will try to fix it next update.
About phantom process, i can try to merge into yakt and i will see it on next update of yakt,
Thank you!

Hey @SupFlynn ,
Sorry for late reply but thank you for letting me know the issue that u had, I will try to fix it next update.
About phantom process, i can try to merge into yakt and i will see it on next update of yakt,
Thank you!

No worries thanks for your kind reply have a nice day :)

Hey @SupFlynn , Sorry for late reply but thank you for letting me know the issue that u had, I will try to fix it next update. About phantom process, i can try to merge into yakt and i will see it on next update of yakt, Thank you!

Also found something like this you may wanna check it out. https://github.com/iamlooper/Android-Enhancer/

Hey @SupFlynn, can you check latest YAKT release (v15)? If you have that crashes

Hey @SupFlynn, can you check latest YAKT release (v15)? If you have that crashes

I have checked it and it is still persistant yet delayed but still crashes happening.

Hey @SupFlynn, can you check latest YAKT release (v15)? If you have that crashes

I have checked it and it is still persistant yet delayed but still crashes happening.

Hey @SupFlynn , can you try the latest Yakt release (v16)?

No activity


style: Fixes mypy warning

This PR specifies an import to prevent a mypy warning.
Any feedback is welcome!

The other failures are unrelated :)

Merging pending PRs & updating all of this!


WASM buffer out of memory

Title: wasm buffer oom on larger data sizes
Description:
I am attempting to implement a wasm filter to do some l4 traffic inspection. When testing with larger data inputs I am seeing an oom error coming from the wasm buffer:
[2021-01-28 19:36:37.191][38][info][wasm] [source/extensions/common/wasm/context.cc:1171] wasm log: panic: runtime error: out of memory

[2021-01-28 19:36:37.191][38][error][wasm] [source/extensions/common/wasm/wasm_vm.cc:39] Function: malloc failed: Uncaught RuntimeError: unreachable

Proxy-Wasm plugin in-VM backtrace:

  0:  0x3b6e - runtime.runtimePanic

  1:  0x1c8a - runtime.alloc

  2:  0x87a9 - malloc

  3:  0x86da - github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm.getBuffer

  4:  0xa757 - proxy_on_upstream_data

envoy docker container memory usage:
c16853e2463d        envoy               1.09%               50MiB / 20.04GiB    0.24%               1.1MB / 1.03MB      0B / 0B             45

some tested file sizes:
1001264 (oom)
97609 (oom)
49140 (oom)
I am seeing this when I run it inside of my local docker environment as well as locally outside of containers.
At first I thought this was probably caused by the the StopIteration call being made to aggregate more data, but when code changes were made to always Continue the problem was still present.
When I reimplemented the filter as a native envoy extension and made the same request it was able to be processed without any issues.
Is there a limit to the size of data that can be sent between envoy and the wasm vm and if there is is that intentional?
[optional Relevant Links:]
the SDK I am using, for reference.

cc @mathetake since it's Proxy-Wasm Go SDK.

cc @mathetake since it's Proxy-Wasm Go SDK.

Related: I ran a similar example to what @jgunvalson is describing above with Go and see the same issue. I used the example code found here and also see the same OOM issues when writing messages to the TCP connection with size of around <1MB.
I wrote an example that mimics the logic in the Go SDK example using the Rust SDK and it is handling it fine up to 10MB.
You can see part of the data being split up -
[2021-01-28 16:55:11.197][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=512000 end_stream=0

[2021-01-28 16:55:11.197][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=307200 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=512000 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=204800 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

and the rust code is very simple -
    fn on_downstream_data(&mut self, data_size: usize, end_of_stream: bool) -> Action {
        if let Some(_data) = self.get_downstream_data(0, data_size) {
            info!(
                "onDownstreamData {} len={} end_stream={}\n",
                self.context_id,
                data_size,
                end_of_stream as u32
                            );
        }
        Action::Continue
    }

    fn on_upstream_data(&mut self, data_size: usize, end_of_stream: bool) -> Action {
        if let Some(_data) = self.get_upstream_data(0, data_size) {
            info!(
                "onUpstreamData {} len={} end_stream={}\n",
                self.context_id,
                data_size,
                end_of_stream as u32            );
        }
        Action::Continue
    }
    ```

Related: I ran a similar example to what @jgunvalson is describing above with Go and see the same issue. I used the example code found here and also see the same OOM issues when writing messages to the TCP connection with size of around <1MB.
I wrote an example that mimics the logic in the Go SDK example using the Rust SDK and it is handling it fine up to 10MB.
You can see part of the data being split up -
[2021-01-28 16:55:11.197][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=512000 end_stream=0

[2021-01-28 16:55:11.197][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=307200 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=512000 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.201][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.202][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=204800 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.203][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

[2021-01-28 16:55:11.204][3211853][info][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1171] wasm log: onUpstreamData 5 len=102400 end_stream=0

and the rust code is very simple -
    fn on_downstream_data(&mut self, data_size: usize, end_of_stream: bool) -> Action {
        if let Some(_data) = self.get_downstream_data(0, data_size) {
            info!(
                "onDownstreamData {} len={} end_stream={}\n",
                self.context_id,
                data_size,
                end_of_stream as u32
                            );
        }
        Action::Continue
    }

    fn on_upstream_data(&mut self, data_size: usize, end_of_stream: bool) -> Action {
        if let Some(_data) = self.get_upstream_data(0, data_size) {
            info!(
                "onUpstreamData {} len={} end_stream={}\n",
                self.context_id,
                data_size,
                end_of_stream as u32            );
        }
        Action::Continue
    }
    ```

Not sure about the root cause, but I'm confident that this is Go-SDK specific (or due to the usage of unfreed global maps in Go/TinyGo). @musaprg is working on this.

I got the same issue with TinyGo 0.16.0 where heap didn't grow automatically. This was fixed with https://github.com/tinygo-org/tinygo/pull/1567
Since TinyGo 0.17.0 is not yet released you have to build TinyGo from the dev branch on your own.

@pwoelfle nice, thanks for the pointer :+1:

OK, I confirmed this is fixed in the upstream TinyGo and the next release will be published in a few weeks. So we can close this. (In  any case, this should belong to TinyGo or proxy-wasm-go-sdk repositories).

Thanks for taking a look. I'll close this issue then and wait for the next release of tinygo


[core] Drop stats for overwrite commit

Purpose

Overwrite commit will read all entries, and generate DELETE entries.
We should drop stats for these DELETE entries, otherwise memory will be too big.

Tests

API and Format

Documentation

+1


On-the-fly linting

Lints on the fly by default.  Added a config option to only lint upon saving a file (the old behavior).
Addresses issue #28.

@halohalospecial this looks really neat. I'm back from vacation now, I'll pull it down and give it a try tomorrow morning. Thanks, again!

@halohalospecial this is great! Thank you so much.


Sentinel::register() doesn't write username to DB

Need to figure out how to make Sentinel::register() respect the additional fields in the User model.

Fixed. Needed to add username to the $fillable array.


[Release 1.26] Unnecessary file_windows.go

Backport: https://github.com/k3s-io/k3s/issues/7844

Closing as there is nothing to test


Video player cuts into half after the device screen rotated in Moto g 2nd Gen (Android : 5.1)

Hi Adam,
While playing a video in Moto g 2nd gen device using this player, video player cuts into half after the screen is rotated.
We have tried the below attribute:
"videoPlayer.FillMode = FillMode.ResizeAspectFill"  still no change.
Player works fine in other devices.
Please find the screenshots attached.

Can you please help us with this issue.?
Thanks.

Duplicate of #3 - there is some code that may help with this in that issue, otherwise you could also try wrapping the player in other Xamarin Forms layouts sort of like how this video is stretched to the entire edge of the page:
<RelativeLayout x:Name="MainMenuLayout">
    <o:VideoPlayer x:Name="VideoPlayer" Source="{me:VideoResource snow.mp4}"
		  DisplayControls="False" AutoPlay="True" Repeat="True" Volume="0" FillMode="ResizeAspectFill"
		  RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width}"
		  RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height}" />
</RelativeLayout>

Hi Adam,
We have tried after modifying the code as you mentioned above.
layout = new RelativeLayout();
layout.Children.Add(videoPlayer,
Constraint.RelativeToParent((Parent) =>videoPlayer.X),
Constraint.RelativeToParent((Parent) => videoPlayer.Y),
Constraint.RelativeToParent((Parent) => Parent.Width),
Constraint.RelativeToParent((Parent) => Parent.Height)
);
We also tried this:
Resize
ResizeAspect
ResizeAspectFill
Still we cant resolve this in moto g 2nd gen.. Please understand the issue, that the video player is working as expected in all the device except " Moto g 2nd gen".
Please find the screenshots after modifying the changes. (Realative layout).

It is working fine as expected while loading the video until it the orientation changes.

Once the device changes the orientation the video gets displayed in half as seen below.

Please help us on this issue.
Thanks in advance.


Available icons do not match advertised icons.

[x] Review the documentation: https://github.com/oblador/react-native-vector-icons
[x] Search for existing issues (including closed ones): https://github.com/oblador/react-native-vector-icons/issues

Environment
Node JS 10, React-native 0.62.x, React Native Vector Icons 7.1.0

Description
I look for an icon in the icon directory. I found camera and camera-outline.
I attempt to use both of these icons by declaring them in the component's prop.
screenOptions={({ route }) => ({
        tabBarIcon: ({ focused, color, size }) => {
          let iconName;

          if (route.name === 'Details') {
            iconName = focused
              ? 'view-list'
              : 'view-list-outline';
          } else if (route.name === 'Photos') {
            iconName = focused ? 'camera' : 'camera-outline';
          }

          return <Icon name={iconName} size={size} color={color} />;
        },

However I get a warning that camera-outline is not a valid prop name.
I look inside /node_modules/react-native-vector-icons and find that MaterialCommunityIcons.js.flow and glyphmap/materialcommunityicons.json both contain an entry for camera-outline. However I cannot use the icon.
This is just an example, as there are several icons that I cannot use that appear both in the icon index and in the node-module.
Is there something I am missing?

Hey, I have the same problem. Did you find any solution ?

Are you using expo ?
If yes, for me it's a conflict with : https://github.com/expo/vector-icons
Because the icons are not present in that repo which is automatically included in expo in /node_modules/@expo/vector-icons ... but I truly don't not how to force the use of /node_modules/react-native-vector-icons.

I am also having this issue and using expo. I am not forcing the usage to the react-native-vector-icons, however it shouldnt need to be forced. I've imported the Ionicons package and have it defined. Passing in certain icon names yields undefined prop name so there is some disconnect occurring.
import Ionicons from "react-native-vector-icons/Ionicons"
...
if (route.name === "Home") {
   iconName = focused ? "ios-home" : "ios-home";
} else if (route.name === "Profile") {
   iconName = focused ? "ios-list-box" : "ios-list";
} else if (route.name === "Find a Gym") {
   iconName = focused ? "ios-search-sharp" : "ios-search";
}
return <Ionicons name={iconName} size={size} color={color} />;

Looking through the supplied warning, it does even show ios-home-sharp or ios-search-sharp as apart of the Ionicons package.
Warning.txt

@javida1492 @joseygordev @mikeymop
The issue is babel-preset-expo.
You can check my post here:
https://forums.expo.io/t/babel-preset-expo-vector-icons-module-resolution/46436
Right now I am searching for proper fix for this issue and will update the post here but at least you can read about the reason of this bug.
In case you already resolved this It will be cool if you can share "the proper way" of resolving this issue.

Should be resolved with more recent icon updates


Min/max temperature values below 0 °C cannot be used

Homebridge v1.3.4
homebridge-ws v2.5.0
Eve app, Home+ app
Config
{
    "name": "Weather",
    "apikey": "XXXXX",
    "dailyForecasts": 1,
    "hourlyForecasts": 1,
    "locations": [
        "XXXXX"
    ],
    "platform": "WS"
}

I tried to create automations based on min/max temperatures below 0 °C. Home+ app does not show temperatures below 0 °C but up to one hundred million billion °C in its selection dialog. Eve app on the other hand has a slider which is impossible to use. As soon as one tries to change the value it will be either a negative or positive number with about 10 digits.
I found that in v2.5.0 current temperature was fixed to support values between -270 and 100 °C. Could you please apply the same fix to all other temperature based characteristics (min, max, apparent, dew point) as well? Thanks.

It’s the same issue with wind speed.

I'll have a look at this, but it's not as easy as it seems.
They changed HAP-NodeJS with recent versions to issue warnings when plugins set accessories to illegal values (e.g. outside the range given by the minValue and maxValue properties).  Especially on Apple-defined characteristics, this could cause HomeKit to reject the accessory (i.c. the Homebridge bridge accessory and all bridged accessories) for non-compliance.  While this is a good thing, I've never seen any issues with custom characteristics (which neither Home nor Siri supports).  To prevent these warnings (and possible non-compliance issues) I simply removed the minValue and maxValue properties for read-only characteristics end Feb, thinking they wouldn't be input by users anyway.  I'm afraid, I didn't consider automation triggers and conditions at that time.
I'll re-instate the min/max values, but need to ensure the value retrieved from OpenWeatherMap falls within the range.  I have seen an occasional unexpected value, see #27.
Unfortunately, the creators of HomeKit apps, including Eve and Home+, seem to enjoy changing the user interface with every new version, breaking something in the process.  They're becoming more and more like Apple, I'm afraid.  Home+ used to provide a text box where you could type in the value, next to the slider, but they changed that to a drop-down list of values.  Eve sometimes shows sliders, other times Up/Down arrows.  I'm not sure if it shows the Up/Down for the Current Temperature characteristic, or for any characteristic, based on the min/max values.
So the challenge is to define a range, which includes the (valid) values that can be reported by OpenWeatherMap (or any other source or sensor), but is still small enough for effective value input for triggers, conditions, and scenes.  The range of -270 to 100 for Current Temperature, now defined in HAP NodeJS makes little sense to me: I'm not sure what the coldest temperature measued on Earth is, but it's well above -270°C.  And most sensors in consumer-grade weather stations will probably stop working below -40° anyways (I used to use the range -40 ... 100 for temperature-related characteristics).  I don't even have a clue what a reasonable max value for wind speed would be.

-270 °C seems to be related to Absolute Zero (0°K = -273.1°C). The reason why I suggested to use the -270°C to 100°C range was not because they will someday be measured on Earth or weather stations support them, but Eve and Home+ seem to handle them properly in their UI. Therefore they can easily been used for automations.

@ucsbricks @redjoto Could you try beta v2.5.1-0?  That should re-instate the minValue/maxValue properties and coerce the values to these ranges.  Also fixes MaximumWindSpeed, which still reported unit km/h instead of m/s (though the value was m/s).

@ebaauw I successfully tested the minValue/maxValue properties in both Eve and Home+ app.

Published v2.5.1.