text:
Check failed: false not implemented

Before you open an issue, please make sure you have tried the following steps:

Make sure your environment is the same with (https://mace.readthedocs.io/en/latest/installation/env_requirement.html).
Have you ever read the document for your usage?
Check if your issue appears in HOW-TO-DEBUG or FAQ.
The form below must be filled.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
NDK version(e.g., 15c): 18b
GCC version(if compiling for host, e.g., 5.4.0): 5.4.0
MACE version (Use the command: git describe --long --tags): 0.12.0
Python version(2.7): 3.6
Bazel version (e.g., 0.13.0): 0.16.0
CMake version: 3.16.0

Model deploy file (*.yml)
# The name of library
library_name: FD
target_abis: [arm64-v8a]
model_graph_format: file
model_data_format: file
models:
  RF: # model tag, which will be used in model loading and must be specific.
    platform: caffe
    # path to your tensorflow model's pb file. Support local path, http:// and https://
    model_file_path: /models/model.prototxt
    weight_file_path: /models/model.caffemodel
    # sha256_checksum of your model's pb file.
    # use this command to get the sha256_checksum --> sha256sum path/to/your/pb/file
    model_sha256_checksum: e1fc999628c539a9631806a033b302262fac43ae6855b005d37bfbe4b11b5b43
    weight_sha256_checksum: 88815164b0d8f94617f33cdecc036e034c6f1a5a4e4f89b8599cdaec5c86bc34
    subgraphs:
      - input_tensors:
          - data
        input_shapes:
          - 1,3,112,112
        input_data_formats:
          - NCHW
        output_tensors:
          - fc1
        output_shapes:
          - 1,1,1,512
    obfuscate: 0
    runtime: cpu
    winograd: 0

Describe the problem
Run fails because Check failed: false not implemented.
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file
2. python tools/converter.py run --config_file=/path/to/your/model_deployment_file

Error information / logs
Please include the full log and/or traceback here.
root@ds017:/mace# python tools/converter.py run --config /models/model/model.yml --validate
CMD> bazel build //mace/proto:mace_py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
Loading:
Loading: 0 packages loaded
Analyzing: target //mace/proto:mace_py (5 packages loaded)
INFO: Analysed target //mace/proto:mace_py (17 packages loaded).
INFO: Found 1 target...
[1 / 7] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //mace/proto:mace_py up-to-date:
bazel-genfiles/mace/proto/mace_pb2.py
INFO: Elapsed time: 2.836s, Critical Path: 0.06s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action

CMD> cp -f bazel-genfiles/mace/proto/mace_pb2.py tools/python/py_proto

CMD> bazel build //third_party/caffe:caffe_py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
Loading:
Loading: 0 packages loaded
Analyzing: target //third_party/caffe:caffe_py (2 packages loaded)
Analyzing: target //third_party/caffe:caffe_py (7 packages loaded)
INFO: Analysed target //third_party/caffe:caffe_py (17 packages loaded).
INFO: Found 1 target...
[0 / 0] no action
Target //third_party/caffe:caffe_py up-to-date:
bazel-genfiles/third_party/caffe/caffe_pb2.py
INFO: Elapsed time: 4.037s, Critical Path: 0.07s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action

CMD> cp -f bazel-genfiles/third_party/caffe/caffe_pb2.py tools/python/py_proto

* Build //mace/tools:mace_run_static with ABI arm64-v8a
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
WARNING: The major revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' is 19. The major revisions supported by Bazel are [10, 11, 12, 13, 14, 15, 16]. Bazel will attempt to treat the NDK as if it was r16. This may cause compilation and linkage problems. Please download a supported NDK version.
INFO: Analysed target //mace/tools:mace_run_static (29 packages loaded).
INFO: Found 1 target...
Target //mace/tools:mace_run_static up-to-date:
  bazel-bin/mace/tools/mace_run_static
INFO: Elapsed time: 109.413s, Critical Path: 12.92s
INFO: 121 processes: 121 local.
INFO: Build completed successfully, 122 total actions
('build', '//mace/tools:mace_run_static', '--config', 'android', '--cpu=arm64-v8a', '--define', 'neon=true', '--define', 'openmp=false', '--define', 'opencl=false', '--define', 'quantize=false', '--define', 'hexagon=false', '--define', 'hta=false', '--define', 'apu=false', '--config', 'optimization', '--config', 'symbol_hidden')
Build done!

*********************************************
          Run model model on MI9
*********************************************

Generate input file:  build/model/_tmp/model/744eef2ab458803da13359fa3ae0f6af/MI9_msmnile/arm64-v8a/model_input_data
Generate input file done.
* Run 'model' with round=1, restart_round=1, tuning=False, out_of_range_check=False, omp_num_threads=(-1,), cpu_affinity_policy=(1,), gpu_perf_hint=(3,), gpu_priority_hint=(3,)
Push build/model/_tmp/model/744eef2ab458803da13359fa3ae0f6af/MI9_msmnile/arm64-v8a/model_input_data to /data/local/tmp/mace_run
Push build/model/model/model.data to /data/local/tmp/mace_run
Push build/model/model/model.pb to /data/local/tmp/mace_run/model.pb
Push build/model/_tmp/arm64-v8a/mace_run_static to /data/local/tmp/mace_run
Push /tmp/cmd_file-model-1582263738.8568137 to /data/local/tmp/mace_run/cmd_file-model-1582263738.8568137
I mace/tools/mace_run.cc:527] model name: model
I mace/tools/mace_run.cc:528] mace version: v0.12.0-0-ga610d50
I mace/tools/mace_run.cc:529] input node: data
I mace/tools/mace_run.cc:530] input shape: 1,3,112,112
I mace/tools/mace_run.cc:531] output node: fc1
I mace/tools/mace_run.cc:532] output shape: 1,1,1,512
I mace/tools/mace_run.cc:533] input_file: /data/local/tmp/mace_run/model_input
I mace/tools/mace_run.cc:534] output_file: /data/local/tmp/mace_run/model_out
I mace/tools/mace_run.cc:535] input dir:
I mace/tools/mace_run.cc:536] output dir:
I mace/tools/mace_run.cc:537] model_data_file: /data/local/tmp/mace_run/model.data
I mace/tools/mace_run.cc:538] model_file: /data/local/tmp/mace_run/model.pb
I mace/tools/mace_run.cc:539] device: CPU
I mace/tools/mace_run.cc:540] round: 1
I mace/tools/mace_run.cc:541] restart_round: 1
I mace/tools/mace_run.cc:542] gpu_perf_hint: 3
I mace/tools/mace_run.cc:543] gpu_priority_hint: 3
I mace/tools/mace_run.cc:544] omp_num_threads: -1
I mace/tools/mace_run.cc:545] cpu_affinity_policy: 1
I mace/tools/mace_run.cc:548] limit_opencl_kernel_time: 0
I mace/tools/mace_run.cc:553] opencl_queue_window_size: 0
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/libmace/mace.cc:636] Destroying MaceEngine
I mace/tools/mace_run.cc:596] restart round 0
I mace/libmace/mace.cc:911] Create MaceEngine from model graph proto and weights data
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/tools/mace_run.cc:269] Create Mace Engine latency: 146.904 ms
I mace/tools/mace_run.cc:276] Total init latency: 147.033 ms
I mace/tools/mace_run.cc:370] Warm up run
F mace/ops/arm/fp32/activation.cc:176] Check failed: false not implemented
F mace/ops/arm/fp32/activation.cc:176] backtrace:
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a993cb8
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a996cec
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a996c7c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a997050
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a9971d4
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a934bd0
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a934624
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a8c6b2c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a9604d8
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a8acf1c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a8884cc
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a88c93c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x5d1a88d124
F mace/ops/arm/fp32/activation.cc:176]  pc 0x7f57df7bc8 __libc_init
Aborted
ERROR: [Mace Run] /mace/tools/device.py:367: Mace run failed.

Additional context
Model to reproduce the issue can be found here

@gasgallo Please check your model, there is an activation layer whose type is not RELU、RELUX、LEAKYRELU or TANH,  MACE only support this four types.

@lu229 what about PReLU? The same model can run if target is gpu and same model can run on both cpu+gpu on MACE v0.11.0-rc0

@gasgallo aha? OK, I am busy during the day, will check it tonight for you.

@gasgallo I checked your model with version v0.12.0 and found no error, what is the commit id of your code?

@lu229 I'm using the release commit https://github.com/XiaoMi/mace/commit/a610d506592892007be538e71ca1daef07c7857b

@gasgallo Perhaps there is a bug in the release a610d50, please use the v0.12.0 and apply this patch. I have checked your model and found no errors.

@gasgallo Perhaps there is a bug in the release a610d50, please use the v0.12.0 and apply this patch. I have checked your model and found no errors.

@lu229 which commit shall I use?

@gasgallo Please use this command: git checkout v0.12.0

@lu229 sorry for not explaining myself well. I was already using v0.12.0 got from git checkout v0.12.0, that's commit https://github.com/XiaoMi/mace/commit/a610d506592892007be538e71ca1daef07c7857b and it causes the false not implemented issue when running on CPU with this model and yaml file
You can reproduce the error with the following code:
docker pull registry.cn-hangzhou.aliyuncs.com/xiaomimace/mace-dev-lite
docker run run -it --privileged --name mace-dev -v /dev/bus/usb:/dev/bus/usb --net=host -v /local/path:/container/path -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v <local_models_folder>:/models registry.cn-hangzhou.aliyuncs.com/xiaomimace/mace-dev-lite
git clone https://github.com/XiaoMi/mace.git
cd mace
git checkout v0.12.0
curl https://gist.githubusercontent.com/gasgallo/52595476f920306f3cc1f9f77bded882/raw/719002ac9f620105919c5feaea5bb1f54284649d/transformer.patch | git apply -v //fix python3 compatibility issue
curl https://raw.githubusercontent.com/lu229/repository/master/issue599.patch | git apply -v //fix issue 599
python tools/converter.py convert --config /models/arc50.yml
python tools/converter.py run --config /models/arc50.yml

And you'll get the following error:
root@ds017:/mace# python tools/converter.py run --config /models/model.yml
CMD> bazel build //mace/proto:mace_py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
Loading:
Loading: 0 packages loaded
Analyzing: target //mace/proto:mace_py (5 packages loaded)
INFO: Analysed target //mace/proto:mace_py (17 packages loaded).
INFO: Found 1 target...
[0 / 3] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //mace/proto:mace_py up-to-date:
bazel-genfiles/mace/proto/mace_pb2.py
INFO: Elapsed time: 2.327s, Critical Path: 0.05s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action

CMD> cp -f bazel-genfiles/mace/proto/mace_pb2.py tools/python/py_proto

CMD> bazel build //third_party/caffe:caffe_py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
Loading:
Loading: 0 packages loaded
Analyzing: target //third_party/caffe:caffe_py (6 packages loaded)
INFO: Analysed target //third_party/caffe:caffe_py (17 packages loaded).
INFO: Found 1 target...
[3 / 5] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //third_party/caffe:caffe_py up-to-date:
bazel-genfiles/third_party/caffe/caffe_pb2.py
INFO: Elapsed time: 2.361s, Critical Path: 0.06s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action

CMD> cp -f bazel-genfiles/third_party/caffe/caffe_pb2.py tools/python/py_proto

* Build //mace/tools:mace_run_static with ABI arm64-v8a
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
WARNING: The major revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' is 19. The major revisions supported by Bazel are [10, 11, 12, 13, 14, 15, 16]. Bazel will attempt to treat the NDK as if it was r16. This may cause compilation and linkage problems. Please download a supported NDK version.
write version v0.12.0-0-ga610d50 to /root/.cache/bazel/_bazel_root/c2cef55e14fcda487fc1be7bbf6ec4e8/external/local_version_config/gen/version
Generate OpenCL kernel done.
INFO: Analysed target //mace/tools:mace_run_static (32 packages loaded).
INFO: Found 1 target...
[4 / 10] no action
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.devtools.build.lib.unsafe.StringUnsafe (file:/root/.cache/bazel/_bazel_root/install/c25ea2c3043bcba07b93dde10595066c/_embedded_binaries/A-server.jar) to constructor java.lang.String(byte[],byte)
WARNING: Please consider reporting this to the maintainers of com.google.devtools.build.lib.unsafe.StringUnsafe
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
INFO: From Executing genrule @opencl_clhpp//:gen_opencl_clhpp:
/tmp/opencl-clhpp-build.VogLFcolW7 /root/.cache/bazel/_bazel_root/c2cef55e14fcda487fc1be7bbf6ec4e8/execroot/mace
/tmp/opencl-clhpp-build.VogLFcolW7/build /tmp/opencl-clhpp-build.VogLFcolW7 /root/.cache/bazel/_bazel_root/c2cef55e14fcda487fc1be7bbf6ec4e8/execroot/mace
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/opencl-clhpp-build.VogLFcolW7/build
Scanning dependencies of target generate_clhpp
[100%] Rebuilding cl.hpp ...
[100%] Built target generate_clhpp
Scanning dependencies of target generate_cl2hpp
[100%] Rebuilding cl2.hpp ...
[100%] Built target generate_cl2hpp
/tmp/opencl-clhpp-build.VogLFcolW7 /root/.cache/bazel/_bazel_root/c2cef55e14fcda487fc1be7bbf6ec4e8/execroot/mace
/root/.cache/bazel/_bazel_root/c2cef55e14fcda487fc1be7bbf6ec4e8/execroot/mace
installing to bazel-out/arm64-v8a-opt/genfiles/external/opencl_clhpp
Target //mace/tools:mace_run_static up-to-date:
  bazel-bin/mace/tools/mace_run_static
INFO: Elapsed time: 192.035s, Critical Path: 15.50s
INFO: 403 processes: 403 local.
INFO: Build completed successfully, 434 total actions
('build', '//mace/tools:mace_run_static', '--config', 'android', '--cpu=arm64-v8a', '--define', 'neon=true', '--define', 'openmp=false', '--define', 'opencl=true', '--define', 'quantize=false', '--define', 'hexagon=false', '--define', 'hta=false', '--define', 'apu=false', '--config', 'optimization', '--config', 'symbol_hidden')
Build done!

*********************************************
          Run model model on MI9
*********************************************

Generate input file:  build/model/_tmp/model/ddc28d735c49610d3fc72054fc628b9d/MI9_msmnile/arm64-v8a/model_input_data
Generate input file done.
* Run 'model' with round=1, restart_round=1, tuning=False, out_of_range_check=False, omp_num_threads=(-1,), cpu_affinity_policy=(1,), gpu_perf_hint=(3,), gpu_priority_hint=(3,)
Push build/model/_tmp/model/ddc28d735c49610d3fc72054fc628b9d/MI9_msmnile/arm64-v8a/model_input_data to /data/local/tmp/mace_run
Push build/model/model/model.data to /data/local/tmp/mace_run
Push build/model/model/model.pb to /data/local/tmp/mace_run/model.pb
Push build/model/_tmp/arm64-v8a/mace_run_static to /data/local/tmp/mace_run
Push /tmp/cmd_file-model-1582781491.0349052 to /data/local/tmp/mace_run/cmd_file-model-1582781491.0349052
I mace/tools/mace_run.cc:527] model name: model
I mace/tools/mace_run.cc:528] mace version: v0.12.0-0-ga610d50
I mace/tools/mace_run.cc:529] input node: data
I mace/tools/mace_run.cc:530] input shape: 1,3,112,112
I mace/tools/mace_run.cc:531] output node: fc1
I mace/tools/mace_run.cc:532] output shape: 1,1,1,512
I mace/tools/mace_run.cc:533] input_file: /data/local/tmp/mace_run/model_input
I mace/tools/mace_run.cc:534] output_file: /data/local/tmp/mace_run/model_out
I mace/tools/mace_run.cc:535] input dir:
I mace/tools/mace_run.cc:536] output dir:
I mace/tools/mace_run.cc:537] model_data_file: /data/local/tmp/mace_run/model.data
I mace/tools/mace_run.cc:538] model_file: /data/local/tmp/mace_run/model.pb
I mace/tools/mace_run.cc:539] device: CPU
I mace/tools/mace_run.cc:540] round: 1
I mace/tools/mace_run.cc:541] restart_round: 1
I mace/tools/mace_run.cc:542] gpu_perf_hint: 3
I mace/tools/mace_run.cc:543] gpu_priority_hint: 3
I mace/tools/mace_run.cc:544] omp_num_threads: -1
I mace/tools/mace_run.cc:545] cpu_affinity_policy: 1
I mace/tools/mace_run.cc:548] limit_opencl_kernel_time: 0
I mace/tools/mace_run.cc:553] opencl_queue_window_size: 0
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/libmace/mace.cc:636] Destroying MaceEngine
I mace/tools/mace_run.cc:596] restart round 0
I mace/libmace/mace.cc:911] Create MaceEngine from model graph proto and weights data
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/tools/mace_run.cc:269] Create Mace Engine latency: 147.373 ms
I mace/tools/mace_run.cc:276] Total init latency: 147.495 ms
I mace/tools/mace_run.cc:370] Warm up run
F mace/ops/arm/fp32/activation.cc:176] Check failed: false not implemented
F mace/ops/arm/fp32/activation.cc:176] backtrace:
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0d4518
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0d754c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0d74dc
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0d78b0
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0d7a34
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e001858
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e0012ac
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578df884e8
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578e088438
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578df69df8
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578df4476c
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578df48df4
F mace/ops/arm/fp32/activation.cc:176]  pc 0x578df495dc
F mace/ops/arm/fp32/activation.cc:176]  pc 0x71b493cbc8 __libc_init
Aborted
ERROR: [Mace Run] /mace/tools/device.py:367: Mace run failed.

Please let me know if you can reproduce the issue on your side.

@gasgallo I checked your model  in file mode and found no errors.  I am busy today and will research this issue tomorrow.
luxuhui@luxuhui-ThinkPad-E480:~/work/mace$ python tools/converter.py run --config $CONF_FILE --validate
CMD> bazel build //mace/proto:mace_py
Loading:
Loading: 0 packages loaded
INFO: Analysed target //mace/proto:mace_py (0 packages loaded).
INFO: Found 1 target...
[0 / 7] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //mace/proto:mace_py up-to-date:
bazel-genfiles/mace/proto/mace_pb2.py
INFO: Elapsed time: 0.739s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
CMD> cp -f bazel-genfiles/mace/proto/mace_pb2.py tools/python/py_proto
CMD> bazel build //third_party/caffe:caffe_py
Loading:
Loading: 0 packages loaded
INFO: Analysed target //third_party/caffe:caffe_py (0 packages loaded).
INFO: Found 1 target...
[1 / 2] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //third_party/caffe:caffe_py up-to-date:
bazel-genfiles/third_party/caffe/caffe_pb2.py
INFO: Elapsed time: 0.356s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
CMD> cp -f bazel-genfiles/third_party/caffe/caffe_pb2.py tools/python/py_proto

Build //mace/tools:mace_run_static with ABI arm64-v8a
INFO: Analysed target //mace/tools:mace_run_static (0 packages loaded).
INFO: Found 1 target...
Target //mace/tools:mace_run_static up-to-date:
bazel-bin/mace/tools/mace_run_static
INFO: Elapsed time: 21.628s, Critical Path: 6.31s
INFO: 64 processes, linux-sandbox.
INFO: Build completed successfully, 65 total actions
('build', '//mace/tools:mace_run_static', '--config', 'android', '--cpu=arm64-v8a', '--define', 'neon=true', '--define', 'openmp=false', '--define', 'opencl=false', '--define', 'quantize=false', '--define', 'hexagon=false', '--define', 'hta=false', '--define', 'apu=false', '--config', 'optimization', '--config', 'symbol_hidden')
Build done!

      Run model arc50 on Andromeda

Generate input file:  build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a/model_input_data
Generate input file done.

Run 'arc50' with round=1, restart_round=1, tuning=False, out_of_range_check=False, omp_num_threads=(-1,), cpu_affinity_policy=(1,), gpu_perf_hint=(3,), gpu_priority_hint=(3,)
Push build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a/model_input_data to /data/local/tmp/mace_run
Push build/model/model/arc50.data to /data/local/tmp/mace_run
Push build/model/model/arc50.pb to /data/local/tmp/mace_run/arc50.pb
Push build/model/_tmp/arm64-v8a/mace_run_static to /data/local/tmp/mace_run
Push /tmp/cmd_file-arc50-1582857370.66 to /data/local/tmp/mace_run/cmd_file-arc50-1582857370.66
I mace/tools/mace_run.cc:527] model name: arc50
I mace/tools/mace_run.cc:528] mace version: v0.12.0-0-ga610d50
I mace/tools/mace_run.cc:529] input node: data
I mace/tools/mace_run.cc:530] input shape: 1,3,112,112
I mace/tools/mace_run.cc:531] output node: fc1
I mace/tools/mace_run.cc:532] output shape: 1,1,1,512
I mace/tools/mace_run.cc:533] input_file: /data/local/tmp/mace_run/model_input
I mace/tools/mace_run.cc:534] output_file: /data/local/tmp/mace_run/model_out
I mace/tools/mace_run.cc:535] input dir:
I mace/tools/mace_run.cc:536] output dir:
I mace/tools/mace_run.cc:537] model_data_file: /data/local/tmp/mace_run/arc50.data
I mace/tools/mace_run.cc:538] model_file: /data/local/tmp/mace_run/arc50.pb
I mace/tools/mace_run.cc:539] device: CPU
I mace/tools/mace_run.cc:540] round: 1
I mace/tools/mace_run.cc:541] restart_round: 1
I mace/tools/mace_run.cc:542] gpu_perf_hint: 3
I mace/tools/mace_run.cc:543] gpu_priority_hint: 3
I mace/tools/mace_run.cc:544] omp_num_threads: -1
I mace/tools/mace_run.cc:545] cpu_affinity_policy: 1
I mace/tools/mace_run.cc:548] limit_opencl_kernel_time: 1
I mace/tools/mace_run.cc:553] opencl_queue_window_size: 0
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/libmace/mace.cc:636] Destroying MaceEngine
I mace/tools/mace_run.cc:596] restart round 0
I mace/libmace/mace.cc:911] Create MaceEngine from model graph proto and weights data
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/tools/mace_run.cc:269] Create Mace Engine latency: 163.819 ms
I mace/tools/mace_run.cc:276] Total init latency: 163.931 ms
I mace/tools/mace_run.cc:370] Warm up run
I mace/tools/mace_run.cc:406] 1st warm up run latency: 427.421 ms
I mace/tools/mace_run.cc:414] Run model
I mace/tools/mace_run.cc:476] Average latency: 135.251 ms
I mace/tools/mace_run.cc:491] Write output file /data/local/tmp/mace_run/model_out_fc1 with size 2048 done.
========================================================
capability(CPU)        init      warmup     run_avg
========================================================
time          19.128     163.931     427.421     135.251
I mace/libmace/mace.cc:636] Destroying MaceEngine
Running finished!

Validate with caffe
Pull /data/local/tmp/mace_run/model_out_fc1 to build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a
fc1 MACE VS CAFFE similarity: 0.9999994216131167 , sqnr: 520861.74961214117 , pixel_accuracy: 1.0

      Similarity Test Passed

Validation done!

@gasgallo I checked your model in file mode and found no errors. I am busy today and will research this issue tomorrow.
luxuhui@luxuhui-ThinkPad-E480:~/work/mace$ python tools/converter.py run --config $CONF_FILE --validate
CMD> bazel build //mace/proto:mace_py
Loading:
Loading: 0 packages loaded
INFO: Analysed target //mace/proto:mace_py (0 packages loaded).
INFO: Found 1 target...
[0 / 7] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //mace/proto:mace_py up-to-date:
bazel-genfiles/mace/proto/mace_pb2.py
INFO: Elapsed time: 0.739s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
CMD> cp -f bazel-genfiles/mace/proto/mace_pb2.py tools/python/py_proto
CMD> bazel build //third_party/caffe:caffe_py
Loading:
Loading: 0 packages loaded
INFO: Analysed target //third_party/caffe:caffe_py (0 packages loaded).
INFO: Found 1 target...
[1 / 2] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //third_party/caffe:caffe_py up-to-date:
bazel-genfiles/third_party/caffe/caffe_pb2.py
INFO: Elapsed time: 0.356s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
CMD> cp -f bazel-genfiles/third_party/caffe/caffe_pb2.py tools/python/py_proto

Build //mace/tools:mace_run_static with ABI arm64-v8a
INFO: Analysed target //mace/tools:mace_run_static (0 packages loaded).
INFO: Found 1 target...
Target //mace/tools:mace_run_static up-to-date:
bazel-bin/mace/tools/mace_run_static
INFO: Elapsed time: 21.628s, Critical Path: 6.31s
INFO: 64 processes, linux-sandbox.
INFO: Build completed successfully, 65 total actions
('build', '//mace/tools:mace_run_static', '--config', 'android', '--cpu=arm64-v8a', '--define', 'neon=true', '--define', 'openmp=false', '--define', 'opencl=false', '--define', 'quantize=false', '--define', 'hexagon=false', '--define', 'hta=false', '--define', 'apu=false', '--config', 'optimization', '--config', 'symbol_hidden')
Build done!

      Run model arc50 on Andromeda

Generate input file: build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a/model_input_data
Generate input file done.

Run 'arc50' with round=1, restart_round=1, tuning=False, out_of_range_check=False, omp_num_threads=(-1,), cpu_affinity_policy=(1,), gpu_perf_hint=(3,), gpu_priority_hint=(3,)
Push build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a/model_input_data to /data/local/tmp/mace_run
Push build/model/model/arc50.data to /data/local/tmp/mace_run
Push build/model/model/arc50.pb to /data/local/tmp/mace_run/arc50.pb
Push build/model/_tmp/arm64-v8a/mace_run_static to /data/local/tmp/mace_run
Push /tmp/cmd_file-arc50-1582857370.66 to /data/local/tmp/mace_run/cmd_file-arc50-1582857370.66
I mace/tools/mace_run.cc:527] model name: arc50
I mace/tools/mace_run.cc:528] mace version: v0.12.0-0-ga610d50
I mace/tools/mace_run.cc:529] input node: data
I mace/tools/mace_run.cc:530] input shape: 1,3,112,112
I mace/tools/mace_run.cc:531] output node: fc1
I mace/tools/mace_run.cc:532] output shape: 1,1,1,512
I mace/tools/mace_run.cc:533] input_file: /data/local/tmp/mace_run/model_input
I mace/tools/mace_run.cc:534] output_file: /data/local/tmp/mace_run/model_out
I mace/tools/mace_run.cc:535] input dir:
I mace/tools/mace_run.cc:536] output dir:
I mace/tools/mace_run.cc:537] model_data_file: /data/local/tmp/mace_run/arc50.data
I mace/tools/mace_run.cc:538] model_file: /data/local/tmp/mace_run/arc50.pb
I mace/tools/mace_run.cc:539] device: CPU
I mace/tools/mace_run.cc:540] round: 1
I mace/tools/mace_run.cc:541] restart_round: 1
I mace/tools/mace_run.cc:542] gpu_perf_hint: 3
I mace/tools/mace_run.cc:543] gpu_priority_hint: 3
I mace/tools/mace_run.cc:544] omp_num_threads: -1
I mace/tools/mace_run.cc:545] cpu_affinity_policy: 1
I mace/tools/mace_run.cc:548] limit_opencl_kernel_time: 1
I mace/tools/mace_run.cc:553] opencl_queue_window_size: 0
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/libmace/mace.cc:636] Destroying MaceEngine
I mace/tools/mace_run.cc:596] restart round 0
I mace/libmace/mace.cc:911] Create MaceEngine from model graph proto and weights data
I mace/libmace/mace.cc:464] Creating MaceEngine, MACE version: v0.12.0-0-ga610d50
I mace/libmace/mace.cc:503] Initializing MaceEngine
I mace/tools/mace_run.cc:269] Create Mace Engine latency: 163.819 ms
I mace/tools/mace_run.cc:276] Total init latency: 163.931 ms
I mace/tools/mace_run.cc:370] Warm up run
I mace/tools/mace_run.cc:406] 1st warm up run latency: 427.421 ms
I mace/tools/mace_run.cc:414] Run model
I mace/tools/mace_run.cc:476] Average latency: 135.251 ms
I mace/tools/mace_run.cc:491] Write output file /data/local/tmp/mace_run/model_out_fc1 with size 2048 done.
capability(CPU)        init      warmup     run_avg
time          19.128     163.931     427.421     135.251
I mace/libmace/mace.cc:636] Destroying MaceEngine
Running finished!
Validate with caffe
Pull /data/local/tmp/mace_run/model_out_fc1 to build/model/_tmp/arc50/5b6c9159e7cdc537261277c531c6b29d/Andromeda_msmnile/arm64-v8a
fc1 MACE VS CAFFE similarity: 0.9999994216131167 , sqnr: 520861.74961214117 , pixel_accuracy: 1.0

      Similarity Test Passed

Validation done!

I'm confused... Did you use the same procedure I specified in my previous comment?
Thanks for the help though!

@gasgallo I used the same procedure you specified in the previous comment(include v0.12.0 and these patch), except that the configuration in YML is file mode. I tried the code mode just now but my computer's memory is small and cannot support that. Have you tried your model with file mode? Besides, have you modifed the mace code?

@lu229 I tried both file and code and the result is the same. As you can see from my previous posts I didn't modify MACE code:

I use registry.cn-hangzhou.aliyuncs.com/xiaomimace/mace-dev-lite docker image
I clone MACE master branch
I checkout v0.12.0
I apply the patches
I try to convert and run

That's all I'm doing.
You're on commit https://github.com/XiaoMi/mace/commit/a610d506592892007be538e71ca1daef07c7857b, right?

@gasgallo yes I 'm on commit a610d506592892007be538e71ca1daef07c7857b (HEAD, tag: v0.12.0), How do you use the docker mace-dev?  I did not use docker,  I used the native environment.

@lu229 I just pull the image, run the container and execute the commands inside of it.
The whole code that I use is in https://github.com/XiaoMi/mace/issues/602#issuecomment-591809301

@gasgallo I find there is a bug in MACE when you using python3, you can use python2 or apply this patch.
Finally, Thank you very much for your report.

Your patch works! Thanks for all the effort @lu229

repo: XiaoMi/mace


text:
NameError: name 'mc' is not defined

When I run sh experiments/COCOA/pcnet_c/train.sh, the following error is reported：
Original Traceback (most recent call last):
File "/home/peng/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/peng/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/peng/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/peng/python_pro/pig_pro/deocclusion-master/datasets/partial_comp_content_dataset.py", line 114, in getitem
self._init_memcached()
File "/home/peng/python_pro/pig_pro/deocclusion-master/datasets/partial_comp_content_dataset.py", line 51, in _init_memcached
self.mclient = mc.MemcachedClient.GetInstance(server_list_config_file, client_config_file)
NameError: name 'mc' is not defined.
How to deal with it? Thanks!

Did you change memcached to True in experiments/COCOA/pcnet_c/config.yaml? It should be False by default.

Did you change memcached to True in experiments/COCOA/pcnet_c/config.yaml? It should be False by default.

Yes, I have changed memcached to True in experiments/COCOA/pcnet_c/config.yaml，but still reported the same error.

I mean, you should not change it to True, cause you do not have the memcache client. Set it to False and there should not be the error. Have you pull the latest version?

I mean, you should not change it to True, cause you do not have the memcache client. Set it to False and there should not be the error. Have you pulled the latest version?

It ’s the previous version, now I ’ll download the latest version as you said, and try again. Thank you!

source: gharchive/issue

repo: XiaohangZhan/deocclusion

license_type: permissive

license_source: github-api


text:
makeup_encoder using image_encoder_l

I downloaded openai/clip-vit-large-patch14 and put it in ../models/image_encoder_l.
I trying to run infer_kps.py and get this problem:
File "infer_kps.py", line 54, in
makeup_encoder = detail_encoder(Unet, "./models/image_encoder_l", "cuda", dtype=torch.float32)
...
../lib/python3.8/site-packages/transformers/modeling_utils.py", line 585, in load_state_dict
raise OSError(
OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run git lfs install followed by git lfs pull in the folder you cloned.
I follow this instruction, installed git-lfs, ran git lfs install with notification:
Updated git hooks.
Git LFS initialized.
Then I ran git lfs pull with no notification and get the same error when try running infer_kps.py again.
how can I solve this issue

You can easily use Huggingface webpage to download it. (just click the download while not use git)

repo: Xiaojiu-z/Stable-Makeup


text:
🛑 SecondLife RDB is down

In aaa14a1, SecondLife RDB (https://SecondLife-RDB-1.tikihed.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SecondLife RDB is back up in 1819382.

repo: Xiija/UpMonitor

license: MIT


text:
Support for ingesting models in the QONNX format

Summary
This PR is designed to add support for the ingestion of the QONNX format in FINN.
In particular a new transformation (ConvertQONNXtoFINN), a corresponding step in the dataflow builder (step_qonnx_to_finn) and an optional flag (expect_QONNX_as_input) have been added.
Details
The PR exchanges the finn-base installation for the qonnx front end, which implicitly installs the qonnx_quant_op branch of finn-base.
The conversion from QONNX to FINN-ONNX is implemented in the following steps:

Convert Gemm node to MatMul and Add node (The Gemm node is exported by the mobilenet and constant folding the quantized weights requires this node to be split up.)
Constant fold weights, which are expressed as Quant nodes
Convert Quant nodes in the activation path to MultiThreshold nodes

Tests
Additionally a new testcase (test_QONNX_to_FINN) has been added to verify that all Quant nodes get converted by this transformation and that the output during execution is still equivalent to the FINN-ONNX exported by Brevitas.
The test currently examines the following networks:

TFC, SFC (all W2A2)
CNV W2A2
Mobilenet (except for Trunc node, see ToDo list)

With this the test in particular covers the following activation types:

ReLu
Idendity

And the following weight types:

Integers above 1 bit
Channel-scaled integers of four bit

Open ToDos
These ToDos need to be addressed before review and merging can take place.

[x] Add an end2end test to verify that the rest of the FINN toolchain still works as expected with the generated FINN-ONNX model.
[x] Add support for converting the AvgPool + Trunc node construct to a QuantAvgPool2d node. This in particular requires a patch to the Brevitas export of the Trunc node, as the node currently dosn't contain enough information to be executed.
[x] Add support for binary Quant nodes, which are planned to get introduced in the Brevitas export along with the patched Trunc node.

The feature has now matured so far, that I've started adding it to more and more tests in the test suite. And this has already lead to a few bugs being discovered and fixed.
So the whole list of tests, which currently test the QONNX ingestion, are the following existing or new tests:

New:

test_QONNX_to_FINN

Existing:

TestEnd2End

This is the bnn_pynq end2end test.

test_brevitas_cnv_export_exec
test_brevitas_fc_onnx_export_and_exec
test_brevitas_act_export_qhardtanh_nonscaled
test_brevitas_QConv2d
test_brevitas_qlinear
test_brevitas_act_export_relu
test_brevitas_act_export_qhardtanh_scaled

The following tests are still under development and are so to say ToDos:

[ ]  test_end2end_cybsec_mlp_*

Development is still work in progress for these tests.

[ ] test_brevitas_debug

Support for this just got added today in Brevias, so I simply haven't gotten around to look at it.

[ ] test_brevitas_avg_pool_export

This test needs significant changes in design due to how the export products with quantized input tensors vary greatly between the FINNManager and the BrevitasONNXManager. So there is significantly more work that needs to be done here and I'm simply not yet finished with it.

[ ]  test_brevitas_act_export_relu_imagenet

Similar-ish issues as with test_brevitas_avg_pool_export.

And finally these tests are currently "won't add" due to different reasons:

test_brevitas_mobilenet

The test is currently marked as xfail and a similar case is already tested by the test_QONNX_to_FINN test.

test_brevitas_compare_exported_mobilenet

For the same reason as for the test above.

test_end2end_mobilenet_v1*

This is technically also because some of the tests are marked as xfail, but it might still be interesting to add these tests nonetheless.

test_ext_weights*

Here the .onnx file is loaded externally and not exported, so it's not easily adaptable.

@maltanar the most recent commit 6a22a11fee35a61bea43ab0ad2f58db53cfb68c3 is a bug fix for an issue, which Ben had with the Pynq-Z2. Just to make sure, that you're not surprised by why I changed that file.

All good to go, thanks @HenniOVP !

source: gharchive/pull-request

authors: HenniOVP maltanar

repo: Xilinx/finn


text:
Some questions about animal3d dataset.

How can you project 3d keypoints and 3d joints onto an image to align them with 2D keypoints and 2d joints?
What is the exact location and order of the keypoints and joints?
In the Animal3D dataset, there are 35 joints, whereas the original SMAL model only utilizes 33 joints. Could you please provide all the SMAL parameters related to the 35 joints? (e.g. base template)
Looking forward to your reply. Thanks!

The paper mentions that each key point on the SMAL model corresponds to a subset of the mesh vertices. May I know how to get the subset corresponding to a keypoint?

I'm also curious of those things. Did you figure them out? Thanks.


text:
Question about KL

Hello, I notice that your KL loss is calculated by "KL = (log_probs_posterior - log_probs_prior).mean(dim=1)". But I cannot understand why and cannot find a detailed explanation in your paper either. Could you help explain this to me or provide some references? Thanks so much!

Finally, I figure it out by myself. You just use approximates the KL divergence via Monte Carlo estimation because there is no closed-form solution for KL in such a model.

repo: XuezheMax/flowseq


text:
Linux support

Firstly, this project is amazing, well done overall
But i am a Linux user, and running this project through wine is not the best solution
Is there any ETA for Linux release? or a way to compile it ourselves?

the port for linux was planed in the back but since i was lazy and we need to convert like 40% of features that are windows only to it we didnt do, idk if in the future ill do

I understand, might be more trouble than it's worth, thank you for the reply


text:
Further continue form validation

Since you can't reopen tickets here, I will open another one.
We need to improve form validation all over the place. We need to minize the risk of garbage in the database.
For example:

The aircraft remarks must not be special characters, only alphanumerical

I added a LOT of validation of the flight process in this commit: 07eb0875fac03f7272f4953bac05bd261a41db4c and 5f94defe307c41efd0d71c91b2fc0d9a0c6bcead

I basically fixed everything for the forms we have right now. When adding new forms in the future, we should make the form validation good right away. I will close this for now.

repo: YAAMSOrg/yaams-server


text:
When viewing courses by department, add link back to department

Right now, to get back to a department, the user has to either press the back button in their browser or manually navigate back. Add a quick link to navigate back to a department. Add tests where necessary

Nevermind, this already exists

repo: YACS-RCOS/yacs-admin

license: mit

license_source: bigquery


text:
[#116] Spring Batch - Slack 연동

개요

Spring Batch - Slack 연동

JobListener, SlackApi

작업사항

Spring Batch 에서 Job 작업 후(리마인드) 실패하는 건에 대해 슬랙 알림 오도록 연동

고생하셨습니다!


text:
🛑 YATeam Web is down

In 6460952, YATeam Web (https://www.yateam.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: YATeam Web is back up in a7cd93b after 4 minutes.

repo: YAT-Publish/status


text:
What to do when a variable name contains _in_

I just came across a strange behavior in my ghost, where every time a certain piece of code ran, it would output the following error:
error E0033 : Internal error (7). : =
I managed to reproduce the error with the following code:
OnDebugging
{
    _test = (1,2,3,4)
    _total_in_answer = ARRAYSIZE(_test)
    _total_in_answer
}

It took me at least 40 minutes to figure out that this code causes an error because my chosen variable name, _total_in_answer, contains _in_, which is an operator in YAYA.
The following code runs properly, with no error:
OnDebugging
{
    _test = (1,2,3,4)
    _num = ARRAYSIZE(_test)
    _num
}

I suppose YAYA parses _total_in_answer as _total  _in_  answer, with no spaces separating them, instead of all together as one name the way I had intended it.
Is there any way we could detect problematic variable names such as this, and throw an error when loading? Or, perhaps the _in_ operator should not be allowed to be used without whitespace, so that variables with names like these are valid?
With other operators like + or =, these characters are not valid in variable names at all, so problems like this won't occur. But _ is valid in variable names, so it doesn't appear to be an issue unless you're specifically thinking about the _in_ operator. I think it's easy for it to cause confusion, especially when the error doesn't describe the problem.
_total+_answer looks like an operation without whitespace
_total_in_answer looks like a variable name

_in_ is a reserved word...

Is it unreasonable to think that an exception should be made for the _in_ operator, so that _a_in_b would not be valid?
I don't like suggesting an exception, but I feel like throwing an error in this case (or at least a warning) would help to prevent confusion.
Are there cases where someone would intentionally write it as _a_in_b even though it looks like it is all connected? I suppose it could happen if you were trying to minimize the file size of your dictionary file 🤔
But even then, I feel like the potential confusion it causes may outweigh the benefit. _a+b is clear even though it is minimized, _a_in_b is not clear and could have 2 possible meanings, so to me it makes sense to disallow it.
If keeping the ability to write _a_in_b is necessary, then is it possible to make it give a warning? It could at least save time for future developers who have the same issue.

authors: Zichqec nikolat

repo: YAYA-shiori/yaya-shiori


text:
已经放弃维护了吗

版本号
~
什么问题
~
如何复现此问题
~
什么浏览器
~
什么系统（Linux, Windows, macOS）

百度连网站都忘记了吗

百度连网站都忘记了吗

是的

是的

好吧，刚在windows 下跑起来，希望2次开发用于公司。没有用ts 挺可惜的，全部改造感觉工作量巨大，尽量对接一下公司的权限系统就可以了，不过yapi 确实挺不错的，界面也好看，感谢你们的开源。

是的

好吧，刚在windows 下跑起来，希望2次开发用于公司。没有用ts 挺可惜的，全部改造感觉工作量巨大，尽量对接一下公司的权限系统就可以了，不过yapi 确实挺不错的，界面也好看，感谢你们的开源。

是的

repo: YMFE/yapi


text:
mrjin/yapi，这个镜像含有挖矿程序，cpu100%，阿里云持续报警

版本号
~
什么问题
~
如何复现此问题
~
什么浏览器
~
什么系统（Linux, Windows, macOS）

我们也遇到了，今天有个老板说服务器爆卡，进去一看 有个 xmrig 经常，妥妥的被挖矿了，老板说好几天天就有收到被入侵的消息
然后排查下来发现，是yapi这逼货的任意命令执行漏洞，没办法以前搞服务器的什么都开外网，没的玩
今天还原了一下服务器到几天前，屏蔽掉了yapi端口，这个本身就不能放公网

脚本都是开源的啊，应该是你把端口直接暴露在公网上了吧。。。

巧了我找到的版本也有。贴代码免得大家被坑！
`

docker run -d --name mongo-yapi mongo
docker pull registry.cn-hangzhou.aliyuncs.com/anoy/yapi

docker run -it --rm
--link mongo-yapi:mongo
--entrypoint npm
--workdir /api/vendors
registry.cn-hangzhou.aliyuncs.com/anoy/yapi
run install-server

docker run -d
--name yapi
--link mongo-yapi:mongo
--workdir /api/vendors
-p 3000:3000
registry.cn-hangzhou.aliyuncs.com/anoy/yapi
server/app.js
`

YApi 是一个非常优秀的项目，只是基本没有维护了。
所以我们考虑新开一个分支（YApi Pro https://github.com/yapi-pro/yapi）接手维护，希望更多人能参与进来。
YApi Pro 是 YApi 的长期维护分支，我们将长期维护，及时更新、处理问题，欢迎更多社区的小伙伴一起参与。

同有个 xmrig ，被挖矿了

用 YApi Pro（ https://github.com/yapi-pro/yapi ）提供的 yapi-pro-cli，升级到最新版就可以解决这个问题了。
npm install -g yapi-pro-cli --registry https://registry.npm.taobao.org
yapi update

1.9.2有bug。非mrjin/yapi问题，在官方更新版本前，建议设置好防火墙，对外之开放必要端口。 @smally10

1.9.2有漏洞。非mrjin/yapi问题，在官方更新版本前，建议设置好防火墙，不对外开放非必要端口。 @smally10

目前也只能这样处理

authors: Thetiso hexiaohei1024 jinfeijie realzhaijiayu smally10 wapmnw xiangyuecn


text:
Make equipment model list page more informative for patrons

I would allow the availability counts and badges to be visible to patrons. Alternatively disallow patrons from viewing this page

Couldn't assign myself so I'm using the comment.

10/12 - Created the desired functionality (the table for "patron" is the same as to "checkout user") and did manual testing. Next on the agenda is to create an automated test.

@alex-kogan once you're done with the tests, you can look into our use of the CanCanCan authorization gem. The file that determines user permissions based on view_mode is app/models/ability.rb, you can review that to see how we've specified permissions in the past and see if there's an existing permission we can hijack or if we'll have to create our own. Let me know if you have any questions!

Great thanks!
I'm done with the testing, I'll look at it over the weekend.

authors: alex-kogan orenyk squidgetx

repo: YaleSTC/reservations


text:
Составить таймлайн

Составить список всех (важных) жизненных событий, выдающихся дат, достижений, периодов, давших приятный и неприятный опыт и т.д. В этом конкретном случае длинных списков не бывает, вместо этого бывают плохо свернуты, поэтому упаковываем сюда все подряд, а о "лишних" событиях можно будет умолчать позже. Список должен быть систематизирован и посортирован таким образом, чтобы читатель быстро понял "паттерн" и мог легко ориентироваться в пространстве и времени этого резюме.

Task completed

repo: Yazkede/homepage


text:
birdhouse sample preview a little grainy

would be nice to have some resolution and algorithm params for the viewer cli
birdhouse.go.zip

I added a couple of parameters to control the resolution and the number of passes (for faster feedback at lower resolutions). They should be configurable via the CLI, query parameters, and GUI in the desktop and browser apps.
However, the rendering algorithm is not designed for small features and will quickly reach its limits if increasing the resolution. I recommend focusing the SDF bounds on the area you are working on, or working with bigger features while designing.

authors: Yeicor axaluss

repo: Yeicor/sdf-viewer


text:
NATS Streaming support.

I see that you all have a todo item listed in the readme for this. Just wanted to check and see if any progress has been made on that front and if it is still going to happen?
Thanks for all of the work so far!

Hello!
The code is already written, but I need to write the integration tests for all of that though!
So pretty much 90% of the work is done as of now :)
If you're curious, the code lives here: https://github.com/YellowInnovation/nitox/tree/feature/nats-server

authors: OtaK thedodd

repo: YellowInnovation/nitox


text:
Respect/Handle Slack 429 Rate Limiting

We had an issue that created a few hundred matches on a rule at once, which was configured to send to slack. These alerts got 429 response codes from the webhook (https://api.slack.com/docs/rate-limits), which caused the 'alert_sent' variable to stay False https://github.com/Yelp/elastalert/blob/7ab6f9d602b22e8c24cfccd5d96a4e357dbbec6c/elastalert/elastalert.py#L1322-L1331 as the SlackAlerter raises an EAException on any response other than 200 https://github.com/Yelp/elastalert/blob/7ab6f9d602b22e8c24cfccd5d96a4e357dbbec6c/elastalert/alerts.py#L1056-L1061.
The problem is, it seems that Slack was still accepting these messages as our channel got spammed with hundreds of duplicate alert messages every time send_pending_alerts() is called, each time with all of the alerts still getting 429's and having alert_sent: False, causing them to keep alerting forever.
We solved this by just removing and recreating the status index in ElasticSearch, but 429's should be handled correctly. If someone could confirm if the slack webhook is still posting to the channel even though the request gets a 429, then a quick fix would just be to ignore 429 errors. Ideally, the SlackAlerter should respect the 429 and try again after the Retry-After period returned by the API.

Just experienced this issue too. It would be nice to have 429 handling so that rate limits don't get hit hard.

same problem, need to delete the status index every time you got too many messages need to sent to slack.

authors: TheyDroppedMe benedery nepeat

repo: Yelp/elastalert


text:
The models you given in the Instructions is not useable

python predict.py --batch_size 100 --dev_data data/dev_data_str.pkl models/31-t3.05458271443-v3.27696280528.model prediction.json
Preparing model...Traceback (most recent call last):
File "predict.py", line 33, in
model = load_model(args.model, custom_objects())
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 233, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 307, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/keras/layers/init.py", line 54, in deserialize
printable_module_name='layer')
File "/usr/local/lib/python2.7/dist-packages/keras/utils/generic_utils.py", line 139, in deserialize_keras_object
list(custom_objects.items())))
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2450, in from_config
process_layer(layer_data)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2447, in process_layer
layer(input_tensors, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 571, in call
self.build(input_shapes)
File "/home/zhengliming/Keras_2.0.6/R-NET-in-Keras/layers/QuestionPooling.py", line 26, in build
assert(isinstance(input_shape, list) and len(input_shape) == 5)
AssertionError

This issue is caused because of the same problem addressed in Issue #13  https://github.com/YerevaNN/R-NET-in-Keras/issues/13
Please see the solution suggested there

OK， Thanks

authors: MartinXPN zhenglm

repo: YerevaNN/R-NET-in-Keras


text:
use a constructor?

Just noticed the constructor API is different from choo-tts. I think it'd be nice if they were similar, e.g.
app.use(require('choo-stt'))   // old
app.use(require('choo-stt')()) // new

Thanks!

Yeah for sure.
I'm planning this for a 1.0.0 stable release, if I have to do a roadmap it wold be

Constructor like API
Command support (see #1)

Not sure if I'm missing anything else.

authors: YerkoPalma yoshuawuyts

repo: YerkoPalma/choo-stt


text:
Update README and prepare for release

This is a companion pull to #2.

Updated to add yeti_logger and to remove wrap_exception (see #2)


text:
[Bug] 消息悬浮按钮会遮挡时间。

正常，不影响使用，按钮又不是一直显示。

authors: Yidadaa vual

repo: Yidadaa/ChatGPT-Next-Web


text:
Update required scVelo version

Description
Once the latest version of scVelo has been released on PyPI, the required version needs to be updated in requirements.txt, etc.

Closed via #8.

repo: YosefLab/velovi


text:
Failed to load module config,why?

java.lang.IllegalArgumentException:resources leng is 0

can you please attach the full stack trace and give more information as you can?

The reason for the problem has been found. I looked at the source code and found that I needed the spring configuration file in the module.Thank you!

authors: YoungHu xiongbenben

repo: YoungHu/jarslink-demo


text:
🛑 UPC is down

In 2146414, UPC (https://www.upc.edu.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 2eeef1f after 6 minutes.

repo: Yourrrrlove/upptime


text:
🛑 runningcheese is down

In 8c13d1b, runningcheese (https://www.runningcheese.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: runningcheese is back up in 2b5c4b1 after 5 minutes.


text:
[BUG] COMException causes application to quit when plugging / unplugging Yubikey

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If you plug / unplug a Yubikey a lot (and YubiKeyDeviceListener has been instantiated), it's possible to occasionally hit a COMException in HidDDevice.GetFeatureReport.
This exception is thrown on a background thread, meaning that it crashes the user's application, and there is no way for the user to prevent this.
The full exception is:

System.Runtime.InteropServices.COMException: 'A device which does not exist was specified. (0x800701B1)'

The stack trace is:
System.Private.CoreLib.dll!System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(int errorCode) Line 849
Yubico.Core.dll!Yubico.PlatformInterop.HidDDevice.GetFeatureReport() Line 59
Yubico.Core.dll!Yubico.Core.Devices.Hid.WindowsHidFeatureReportConnection.GetReport() Line 34
Yubico.YubiKey.dll!Yubico.YubiKey.Pipelines.KeyboardTransform.WaitFor(System.Func<Yubico.YubiKey.KeyboardReport, bool> stopCondition, bool checkForTouch, bool shortTimeout, string timeoutMessage) Line 120
Yubico.YubiKey.dll!Yubico.YubiKey.Pipelines.KeyboardTransform.WaitForWriteResponse() Line 102
Yubico.YubiKey.dll!Yubico.YubiKey.Pipelines.KeyboardTransform.HandleSlotRequestInstruction(Yubico.Core.Iso7816.CommandApdu apdu, Yubico.YubiKey.KeyboardFrameReader frameReader, bool configInstruction) Line 64
Yubico.YubiKey.dll!Yubico.YubiKey.Pipelines.KeyboardTransform.Invoke(Yubico.Core.Iso7816.CommandApdu commandApdu, System.Type commandType, System.Type responseType) Line 46
Yubico.YubiKey.dll!Yubico.YubiKey.Pipelines.OtpErrorTransform.Invoke(Yubico.Core.Iso7816.CommandApdu command, System.Type commandType, System.Type responseType) Line 23
Yubico.YubiKey.dll!Yubico.YubiKey.KeyboardConnection.SendCommand<Yubico.YubiKey.Otp.Commands.GetDeviceInfoResponse>(Yubico.YubiKey.IYubiKeyCommand<Yubico.YubiKey.Otp.Commands.GetDeviceInfoResponse> yubiKeyCommand) Line 44
Yubico.YubiKey.dll!Yubico.YubiKey.KeyboardDeviceInfoFactory.TryGetDeviceInfoFromKeyboard(Yubico.Core.Devices.Hid.IHidDevice device, out Yubico.YubiKey.YubiKeyDeviceInfo yubiKeyDeviceInfo) Line 51
Yubico.YubiKey.dll!Yubico.YubiKey.KeyboardDeviceInfoFactory.GetDeviceInfo(Yubico.Core.Devices.Hid.IHidDevice device) Line 24
Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDevice.YubicoDeviceWithInfo.GetDeviceInfo() Line 65
Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDevice.YubicoDeviceWithInfo.YubicoDeviceWithInfo(Yubico.Core.Devices.IDevice device) Line 30
Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDeviceListener.Update() Line 128
Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDeviceListener.ListenForChanges() Line 89
System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 179

Poking around in a debugger, I think this exception will crash the application: there's no exception handling in YubiKeyDeviceListener.ListenForChanges. However, if you 'Continue', you hit a further exception:

System.ObjectDisposedException: 'Cannot access a disposed object. ObjectDisposed_ObjectName_Name'

Call stack:
System.Private.CoreLib.dll!System.ThrowHelper.ThrowObjectDisposedException(object instance) Line 403
System.Private.CoreLib.dll!Interop.Kernel32.SetEvent(Microsoft.Win32.SafeHandles.SafeWaitHandle handle) Line 8247
System.Private.CoreLib.dll!System.Threading.EventWaitHandle.Set() Line 85
Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDeviceListener.ListenForChanges.AnonymousMethod__2(object s, Yubico.Core.Devices.Hid.HidDeviceEventArgs e) Line 77
Yubico.Core.dll!Yubico.Core.Devices.Hid.HidDeviceListener.OnArrived(Yubico.Core.Devices.Hid.IHidDevice device) Line 38
Yubico.Core.dll!Yubico.Core.Devices.Hid.WindowsHidDeviceListener.OnEventReceived(nint hNotify, nint context, Yubico.PlatformInterop.NativeMethods.CM_NOTIFY_ACTION action, nint eventDataPtr, int eventDataSize) Line 100

Here it's trying to call updateEvent.Set();, but the event has been disposed, presumably by the thread that hit the COMException returning from ListenForChanges and disposing the updateEvent on the way (but not unsubscribing from any of the _smartCardListener events).
If you 'Continue' again, you get a further exception, but I think this is just the same exception being re-thrown:

System.ObjectDisposedException: 'Cannot access a disposed object. ObjectDisposed_ObjectName_Name'

Stack trace:
[Exception] System.Private.CoreLib.dll!System.ThrowHelper.ThrowObjectDisposedException(object instance) Line 403
[Exception] System.Private.CoreLib.dll!Interop.Kernel32.SetEvent(Microsoft.Win32.SafeHandles.SafeWaitHandle handle) Line 8247
[Exception] System.Private.CoreLib.dll!System.Threading.EventWaitHandle.Set() Line 84
[Exception] Yubico.YubiKey.dll!Yubico.YubiKey.YubiKeyDeviceListener.ListenForChanges.AnonymousMethod__0(object s, Yubico.Core.Devices.SmartCard.SmartCardDeviceEventArgs e) Line 67
[Exception] Yubico.Core.dll!Yubico.Core.Devices.SmartCard.SmartCardDeviceListener.OnArrived(Yubico.Core.Devices.SmartCard.ISmartCardDevice device) Line 40
[Exception] Yubico.Core.dll!Yubico.Core.Devices.SmartCard.DesktopSmartCardDeviceListener.FireEvents(System.Collections.Generic.List<Yubico.Core.Devices.SmartCard.ISmartCardDevice> arrivedDevices, System.Collections.Generic.List<Yubico.Core.Devices.SmartCard.ISmartCardDevice> removedDevices) Line 298
[Exception] Yubico.Core.dll!Yubico.Core.Devices.SmartCard.DesktopSmartCardDeviceListener.CheckForUpdates(int timeout, bool usePnpWorkaround) Line 197
[Exception] Yubico.Core.dll!Yubico.Core.Devices.SmartCard.DesktopSmartCardDeviceListener.ListenForReaderChanges() Line 78
[Exception] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 179
System.Private.CoreLib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Line 53
System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 203

It seems that there is an attempt at error handling in YubiKeyDeviceListener.Update:
catch (Exception ex) when (ex is SCardException || ex is PlatformApiException)

But this doesn't catch the COMException that we see. Just removing the exception filter there is probably a good thing to do: then we won't crash out in a bad way if something unexpected happens.
Expected Behavior
The expected behaviour is that Yubikey does not crash the user's application in an unrecoverable way.
Steps To Reproduce

In a Windows project, subscribe to YubiKeyDeviceListener.Instance.Arrived. I don't think the subscription is actually necessary (just accessing YubiKeyDeviceListener.Instance might be enough), since the YuibKeyDeviceListener ctor is what starts the background thread
Plug and unplug the Yubikey a lot (might take a number of minutes). Vary the amount of time that the Yubikey is plugged in for, but no need to have it plugged in for more than 2s. Having Yubico Authenticator open at the same time might help reproduce, but I have seen it with nothing else open
Watch your application crash with the above exception

Version
1.9.0
Version
5.4.3
Anything else?
No response

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/xs3e15yonljh4bk/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Check your signed in sessions for unknown people

Hi again! Are you able to test this on the 1.11 release?

Yes, I can still replicate this on 1.11.
This perhaps isn't surprising, as it doesn't look like any of the files in the stack trace have been modified in any meaningful way?


text:
RuntimeError: CUDA error: initialization error

when I run bash process_data.sh Obama, error occured
--- Step 4: extract background image --- 1400 2.0486092567443848 -9.598418235778809 find best focal 1200 2.07476806640625 -8.41795825958252 Traceback (most recent call last):   File "data_util/face_tracking/face_tracker.py", line 218, in <module>     sel_light.to(device_render))   File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl     result = self.forward(*input, **kwargs)   File "/app/workshop/github/AD-NeRF/data_util/face_tracking/render_3dmm.py", line 189, in forward     rendered_img = self.renderer(mesh)   File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl     result = self.forward(*input, **kwargs)   File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/renderer.py", line 59, in forward     fragments = self.rasterizer(meshes_world, **kwargs)   File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl     result = self.forward(*input, **kwargs)   File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterizer.py", line 203, in forward     cull_to_frustum=raster_settings.cull_to_frustum,   File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterize_meshes.py", line 246, in rasterize_meshes     cull_backfaces,   File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterize_meshes.py", line 320, in forward     cull_backfaces, RuntimeError: CUDA error: initialization error
I check the file face_tracker.py, torch.device('cuda:0') throw the error, but it's correct running in the ipython。
pytorch3d              0.6.1               /app/workshop/github/pytorch3d torch                  1.8.1+cu101 torchaudio             0.8.0a0+e4e171a torchvision            0.2.2
pytorch3d was installed from source code and use pip install -e .
thanks.

when I run bash process_data.sh Obama, error occured
--- Step 4: extract background image --- 1400 2.0486092567443848 -9.598418235778809 find best focal 1200 2.07476806640625 -8.41795825958252 Traceback (most recent call last): File "data_util/face_tracking/face_tracker.py", line 218, in <module> sel_light.to(device_render)) File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl result = self.forward(*input, **kwargs) File "/app/workshop/github/AD-NeRF/data_util/face_tracking/render_3dmm.py", line 189, in forward rendered_img = self.renderer(mesh) File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl result = self.forward(*input, **kwargs) File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/renderer.py", line 59, in forward fragments = self.rasterizer(meshes_world, **kwargs) File "/home/longjing/anaconda3/envs/adnerf/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl result = self.forward(*input, **kwargs) File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterizer.py", line 203, in forward cull_to_frustum=raster_settings.cull_to_frustum, File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterize_meshes.py", line 246, in rasterize_meshes cull_backfaces, File "/app/workshop/github/pytorch3d/pytorch3d/renderer/mesh/rasterize_meshes.py", line 320, in forward cull_backfaces, RuntimeError: CUDA error: initialization error
I check the file face_tracker.py, torch.device('cuda:0') throw the error, but it's correct running in the ipython。
pytorch3d 0.6.1 /app/workshop/github/pytorch3d torch 1.8.1+cu101 torchaudio 0.8.0a0+e4e171a torchvision 0.2.2
pytorch3d was installed from source code and use pip install -e .
thanks.

I encountered the same error. Did you solve that?

@Janie1996 not yet.

Hi! In my case, when I run this code,
bash process_data.sh Obama
I got the error below:
FileNotFoundError: [Errno 2] No such file or directory: 'dataset/Obama/track_params.pt'
Could you please give me tips on how to solve this one?

repo: YudongGuo/AD-NeRF


text:
Latent ODE with RNN encoder Error

Hi Yulia,
  Thanks a lot for providing the open-source code. Currently the experiment Latent ODE with RNN encoder has the following error.
 latent_ode/lib/encoder_decoder.py", line 135, in forward
if mask is not None:

UnboundLocalError: local variable 'mask' referenced before assignment
 Could you provide some suggestions?

 Highly appreciate your time and help!

Hi Lili,
I removed the lines causing the error in commit  6f3b4f7649545bb5363185bd1108c10e3f261f54.

authors: LiliMeng YuliaRubanova


text:
Update to v4.0.1

PR Status

[x] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme

!testme

!testme

authors: Jules-Bertholet Tagadda alexAubin


text:
Fix test upgrade

Problem

Level 6

Solution

Fix test upgrade

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme
!bookwormtestme


text:
Service missing permission to start

Hi,
I installed you app on my YNH instance (11.1.16).
I had an 'internal server error' message when I tried to access it the first time. So I tried to restart the tandoor service, but its unable to do so because of missing permissions.
Also you mentioned additional setup for the "superuser" is needed, but I have no clue. That would be nice to have some detailed instructions for this part.
Install logs: https://paste.yunohost.org/raw/epuzofekuh
Service logs: https://paste.yunohost.org/fozogamuba

Everything is working fine after the upgrade:
sudo yunohost app upgrade tandoor -u https://github.com/YunoHost-Apps/tandoor_ynh/tree/testing --debug
Thanks !

I will look into creating more documentation for the superuser

authors: jaireimy navanchauhan


text:
Testing

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


text:
React build throwing an error in CI/CD

Because of types react incompatibility, an error is thrown in CI/CD build and as such pages cannot be built successfully.

This issue now is no longer applicable due to the fact Webpack Module Federation is used.

repo: YuraVolk/Js-Library


text:
Update playwright driver to 1.15.0-next-1629316305000

include https://github.com/microsoft/playwright/pull/8290/files

playwright@next seems not to be updated yet.

repo: YusukeIwaki/playwright-ruby-client


text:
🛑 ZEENKEY CDN is down

In a828b5b, ZEENKEY CDN (https://zeenkeycdn.ga) was down:

HTTP code: 500
Response time: 360 ms

Resolved: ZEENKEY CDN is back up in 17b80f6.

repo: ZEENKEY/statuspage


text:
🛑 Official Website is down

In 8fbc8e1, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 166 ms

Resolved: Official Website is back up in effc70b.


text:
🛑 Server 1 is down

In 81b35c6, Server 1 (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 75 ms

Resolved: Server 1 is back up in a92a5a8.


text:
🛑 Server 1 is down

In 2b22f02, Server 1 (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 78 ms

Resolved: Server 1 is back up in 3ed1f98.


text:
Problem when switching between different Forge Profiles [WIN]

Describe the issue
I'm trying to switch between different Forge Profiles (CoinDreams, Josep) by changing the content default config.json file with the content of my existing profiles created with previous versions of Forge. When I try to use the configuration of those profiles, it isn't recognized and then I need to select the Setup button. Once I select Setup, the config.json file is updated and the Forge app loads one of my existing profiles: CoinDreams. This happens always that I select Setup.
Can you reliably reproduce the issue?
Yes, it's possible.
If so, please list the steps to reproduce below:

Delete config.json file
Duplicate the desired config file and rename it with config.json
Open ZENZO Core Wallet app and wait until Core Wallet is synchronized
Open ZENZO Forge app and wait until Forge is loaded
The configuration won't be loaded. Then select the Setup button
Close and open again ZENZO Core Wallet (as the Forge asks you to do)
One of the profiles will be loaded. In my case, it's always CoinDreams. Not sure why, but maybe one reason could be because it was the first profile to be created.

Expected behavior
Forge should let you switch from one profile to another one.
Actual behavior
Configuration files aren't recognized and the Setup button always loads the same profile by default.
Additional info
The old profiles had this data: {"wallet":{"user":"user","pass":"forgepass","port":26211,... and the respective address
But the new profile has an associated user and pass, but no address.
What version of ZENZO Forge are you using?

Version: v0.5.2
Commit: N/A
Type: Official binary

Machine specs:

OS: Windows 10 Pro
CPU: Inter Core i7-7700 @ 3.60GHz
RAM: 16GB
Disk size: 250GB
Disk Type (HD/SDD): SDD

This issue should now be solved by https://github.com/ZENZO-Ecosystem/zenzo-forge/commit/67daff0d20634e3b3b2d19e7f6146cc9582ca089, which re-designs the config system to properly 'mix' settings between ZENZO Core's zenzo.conf and ZENZO Forge's config.json, it will prioritize the config.json file, but if it contains invalid settings like incorrect RPC User/Pass then the Forge will fallback to using ZENZO Core's direct RPC settings.
Let's see if this is fixed in the next release, re-open the issue if not :D

authors: JSKitty jgonfer

repo: ZENZO-Ecosystem/zenzo-forge


text:
[Bug]: 在 PaddleOCR官方下载的小语种模型怎么使之生效？

预期情况
在 PaddleOCR官方下载的小语种模型怎么使之生效？
实际情况
在 PaddleOCR官方下载的小语种模型怎么使之生效？
下载解压 stranslate_paddleocr_data_v4.3.zip 到软件根目录后，新下载的小语种模型也放到了 inference 文件夹内，
但是截图识别仍然识别不到，不知道还需要哪些配置？
复现方法
在 PaddleOCR官方下载的小语种模型怎么使之生效？
下载解压 stranslate_paddleocr_data_v4.3.zip 到软件根目录后，新下载的小语种模型也放到了 inference 文件夹内，
但是截图识别仍然识别不到，不知道还需要哪些配置？
日志信息
在 PaddleOCR官方下载的小语种模型怎么使之生效？
下载解压 stranslate_paddleocr_data_v4.3.zip 到软件根目录后，新下载的小语种模型也放到了 inference 文件夹内，
但是截图识别仍然识别不到，不知道还需要哪些配置？
额外信息
No response
我确认已更新至最新版本

[X] 是

我确认已查询历史issues

[X] 是

paddleocr其他语言目前我这边只支持了日语和韩语

authors: ZGGSONG yiyubinglan

repo: ZGGSONG/STranslate


text:
About the performance of PSPNet.

Hello, thanks for your perfect work. I have a question about the performance of PSPNet , when i use PSPNet alone  in my own dataset and my own code and trainning with 1/2 samples,  the miou could reach about 68%. But when I change to your code and trainningwith suponly, the miou is only 60% .  Could you please tell me what may be the reason for this.

Hi, thanks for your attention.
How do you set the batch size?

repo: ZHKKKe/PixelSSL


text:
注释

“try again”

参数影响去噪效果


text:
How to evaluate on MOT17 or MOT20 dataset?

The ground truth format has changed. Hence the same evaluation code won't work, right? I ran this implementation on both MOT15 and MOT17 datasets. The results are in the same format. This means that, this implementation has not taken into account, the changes in formats.

+1 for me

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

The ground truth format has changed. Hence the same evaluation code won't work, right? I ran this implementation on both MOT15 and MOT17 datasets. The results are in the same format. This means that, this implementation has not taken into account, the changes in formats.

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

In my case, I followed the instructions here https://bitbucket.org/amilan/motchallenge-devkit/

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

In my case, I followed the instructions here https://bitbucket.org/amilan/motchallenge-devkit/

Why not use yolov3_deepsort_eval.py, what is the function of this function?

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

In my case, I followed the instructions here https://bitbucket.org/amilan/motchallenge-devkit/

Why not use the function of yolov3_deepsort_eval.py, what is the function of yolov3_deepsort_eval.py

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

In my case, I followed the instructions here https://bitbucket.org/amilan/motchallenge-devkit/

Why not use the function of yolov3_deepsort_eval.py, what is the function of yolov3_deepsort_eval.py

I'm not sure whether the eval.py works or not. Just in my case, the standard devkit works

+1 for me

do you know how got the evaluate on MOT16?can we communicate through qq,973616491

In my case, I followed the instructions here https://bitbucket.org/amilan/motchallenge-devkit/

Why not use the function of yolov3_deepsort_eval.py, what is the function of yolov3_deepsort_eval.py

I'm not sure whether the eval.py works or not. Just in my case, the standard devkit works

hi，bro，above web is not work, can you share it again?


text:
Fix method name in getting started

elementFromXMLFilename doesn't  exists or was renamed to fileExtension
See: https://github.com/ZaBlanc/RaptureXML/blob/master/RaptureXML/RXMLElement.h#L53

3 years without any comment I'm going to close it

repo: ZaBlanc/RaptureXML


text:
Port flavortext.h from Singularitron to Python

This would make it much easier to use the super cool flavortext from the Singularitron project elsewhere.
I will work on this but I have no idea how C++ works. Wish me luck.

found some code written by @1minus4
I'm making some changes and will make a pull request later tonight

Just finished the changes.
The code kinda sucks and uses 2 different files but it works.
Closing this issue and making a PR now.

repo: ZackFreedman/text-generators


text:
Fix /caphelp

Switch the HTML to unicode so the é displays correctly

Thanks!

authors: Zarel sparktrain

repo: Zarel/Pokemon-Showdown


text:
Add the Google Cloud Instance ID to Sentry, so we can search logs

Is your feature request related to a problem? Please describe.
When our deployed Zebra instances panic or crash, they send a report to Sentry.io.
But this report only contains the Google Cloud instance name, so we can't search Google Cloud Logs for the instance's logs. This makes it hard to diagnose issues.
Describe the solution you'd like

Add the Google Cloud Instance ID to the Sentry metadata
Check that those instance IDs can be used to search Google Cloud Logs

maybe we'll need to trigger a deliberate crash

Describe alternatives you've considered
If the instance is still running, we can look up the logs from the Google Cloud VPC interface. But that doesn't work for deleted instances.
Additional context
This is blocking bugs like #1678: #2209, #2055

This doesn't seem to have been a problem recently.

repo: ZcashFoundation/zebra


text:
Remap Audio Filter

I have an issue about Vlc.DotNet.
Generic information

Vlc.DotNet version : 3.0.0-develop294
Vlc.DotNet project used : Core
libvlc version : x86 from the VLC Homepage
.net version : 4.6.1
Project language : C#
Project build architecture : AnyCPU (prefer 32bits))
Operating system : Windows 10 x64

Summary
I want to use the remap audio filter to choose from which speaker to play.
When I pass the following options from the command-line to the vlc.exe it works perfectly.
When I pass them as options to the Vlc.DotNet it's like the filter is ignored.
Am I doing something wrong?
"--audio-resampler=any", "--stereo-mode=5", "--force-dolby-surround=1", "--audio-filter=remap", "--aout-remap-channel-left=0", "--aout-remap-channel-center=0", "--aout-remap-channel-right=0", "--aout-remap-channel-rearleft=0", "--aout-remap-channel-rearcenter=0", "--aout-remap-channel-rearright=0", "--aout-remap-channel-middleleft=0", "--aout-remap-channel-lfe=0", "--aout-remap-normalize"

[x] I confirm that my issue doesn't happen in VLC itself.

Can you share a sample code ? How can I test that ?

I start the VLC-Player from the command-line with the following command:
vlc --vout=any --audio-resampler=any --audio-filter=remap --aout=any --stereo-mode=5 --force-dolby-surround=1 --aout-remap-channel-left=7 --aout-remap-channel-center=7 --aout-remap-channel-right=7 --aout-remap-channel-rearleft=7 --aout-remap-channel-rearcenter=7 --aout-remap-channel-rearright=7 --aout-remap-channel-middleleft=7 --aout-remap-channel-lfe=7 --mmdevice-audio-device={0.0.0.00000000}.{.....}
Then I start to listen to music and it does what it should, it plays out of the right surround speaker.
The audio device is configured in windows-settings as 7.1 surround.
In my code I create the VLC player with the following code:
string[] options = {
	"--vout=any",
	"--audio-resampler=any",
	"--audio-filter=remap",
	"--aout=any",

	"--stereo-mode=5",
	"--force-dolby-surround=7",
	"--aout-remap-channel-left=7",
	"--aout-remap-channel-center=7",
	"--aout-remap-channel-right=7",
	"--aout-remap-channel-rearleft=7",
	"--aout-remap-channel-rearcenter=7",
	"--aout-remap-channel-rearright=7",
	"--aout-remap-channel-middleleft=7",
	"--aout-remap-channel-lfe=7",
	"--mmdevice-audio-device={0.0.0.00000000}.{.....}"
};
mediaPlayer = new VlcMediaPlayer(new DirectoryInfo(libDirectory), options);

Later, from another thread, I start playing music like this:
string[] options = {};
mediaPlayer.SetMedia(url, options);
mediaPlayer.Play();

This music always comes from the front speakers, no matter which channel i map it to.
Here you can find the log file:
log.txt

I noticed this line:

wasapi generic error: cannot initialize audio client (error 0x8889000a)

A quick search brought me to : https://forum.videohelp.com/threads/388189-ffplay-WASAPI-can-t-initialize-audio-client-error
Can you please try to set the SDL_AUDIODRIVER environment variable to directsound ?
Anyway, it looks like a bug in vlc or one of its plugins. You will probably get more useful help from there.

did you manage to solve your issue?
I'm closing this, since It's been a long time and I have no evidence that this is a bug in Vlc.DotNet itself. Please reopen if you still need help.

authors: jeremyVignelles lcbpdev


text:
Audio track cuts off a few seconds too soon.

I have a question about Vlc.DotNet.
Generic information

Vlc.DotNet version : (3.0.0)
Vlc.DotNet project used : (WinForms)
libvlc version : (x86)
.net version : (4.7.2)
Project language : (C#)
Project build architecture : (AnyCPU)
Operating system : (Windows 10 64 bit)

Summary
This may be an odd one,
I've been looking all over for this issue, as the title suggests the audio track cuts off before the video ends. I've found out this only happens when using the ":input-slave=url" with audio streams option as playing regular muxed streams seem to work just fine. Throughout my googling I've found some threads suggesting 'wasapi' might be the solution but I haven't been able to get that working.
I'm completely on board with this one and will provide any code or time I have to offer.
Thanks in advance.

suggesting 'wasapi' might be the solution but I haven't been able to get that working.

Why not?
Possibly related but not sure https://trac.videolan.org/vlc/ticket/22929

The frames look fine, the video still plays it's just the last 2-3 seconds ish of the audio cut off. And I've tried to use wasapi but haven't found the command line for it, there seems to be little documentation on that.

Maybe --mmdevice-backend=wasapi https://wiki.videolan.org/VLC_command-line_help/

I've tried that but it doesn't seem to be working. I'll try to reproduce the bug in vlc itself in the meantime.

I've noticed that PositionChanged cuts off right when the audio cuts off. The video continues to play and when that stops EndReached is called. Definitely sounds like some some sort of bug.

Yes, it looks like a bug, but if it does happen in VLC, we can't do anything about it in this repo, please open a bug on VLC side.

Have been able to reproduce the bug in vlc itself. It only happens when using two separate streams, if you were to use two seperate files instead it'll work just fine. I'll open a bug on their site as you suggested, thanks for helping regardless.

authors: Kajirinn jeremyVignelles mfkl


text:
Add styling for toll roads

Adds style definitions with a yellow hue for toll roads of all classes, from motorway to service.
Also removes "TOLL" banners from all route shields, as it would be implied by the distinct toll road styling.

Some exotic examples of non-freeway toll roads:

Thanks for working on this, Clay, and thanks for the map examples, Adam.  I've got a map by American Map (Arrow Inc) that uses red/green:

I guess the red here is almost more of a magenta. Regardless, probaby not the best choice with accessibility for colorblindness in mind.
Personally I much prefer the blue/green color scheme as it makes controlled access highways really stand out from the red lines used for lesser highways.  A while ago I posted in slack about a potential change to blue motorways I was trying out, but haven't had time to take it further yet.  I would still like to explore this if other maintainers are open to the idea.  Two road atlases I have (Rand McNally & Michelin) use thick green casing around a yellow (or maybe bright greenish yellow) center line.  This looks really nice to me and communicates the expressway styling very well.

However, if the consensus is to keep motorways red, then I can get behind a golden yellow or orange for toll expressways.  It looks like AAA uses a more of an orange and I think this works well for contrast with lighter background colors.
I'm not so sure about using a different style for lesser toll roads that aren't expressways.  Perhaps it could work, but I'd like to see some examples of other maps that do this.  It seems to to me that maps highlighting toll roads in a different style generally only do it for expressway level roads.

Looks good to me! I will say that removing the Toll banners from shields makes sense in the long run, but perhaps we should keep them until we actually have a key/legend for the map?

Looks good to me! I will say that removing the Toll banners from shields makes sense in the long run, but perhaps we should keep them until we actually have a key/legend for the map?

I'm not sure if the key/legend is a part of this style or an external component that would get built by someone integrating the style into a consumer-facing map.  Or if we need to create some kind of API that could get invoked by a style integrator to display a legend.  So this could be a significant effort to sort out, and may even be outside of our scope, so I wouldn't want to hold up our intended end design for lack of a key/legend.
To my American eyes, the colored toll roads scream "toll road" to me visually and I think I'd lean towards saying this coloring is sufficient to drop the toll banners.

However, if the consensus is to keep motorways red, then I can get behind a golden yellow or orange for toll expressways. It looks like AAA uses a more of an orange and I think this works well for contrast with lighter background colors.
I'm not so sure about using a different style for lesser toll roads that aren't expressways. Perhaps it could work, but I'd like to see some examples of other maps that do this. It seems to to me that maps highlighting toll roads in a different style generally only do it for expressway level roads.

I think it's valuable to show toll=* information on all roads at high zoom (>15). Though I can make a demo where non-expressway toll roads are undifferentiated at low zoom, and I'll try the blue and green color scheme with it as well.

At high zoom, my gut feel is that the mustard yellow (35% lightness) is too dark.  From experimenting with this, I think the floor for toll roads at high zoom should be 45%.  However, both toll and non-toll motorways use a common function motorwayFillColor, so some refactoring would be needed to change that zoom stop for toll roads but not for motorways generally.
Current high-zoom color:

Fixes #206

Current version
Version with toll roads primary and lower undifferentiated at low zoom
As 2), but with a blue and green color scheme

I'm annoyed that the east-west toll section of I-635 is an accurate rendering of reality.

Here's how they look as a separate layer:

The toll express lanes on I-635 enter a tunnel underneath the mainlanes in this example, and we would not want to show a tunnel above a surface feature. I think the guidance that toll roads show up above free roads is applicable when the two roads are on the same layer.
In general, toll express lanes like the ones on I-635 are highways where I'd personally rather suppress the toll styling until high zoom, effectively a reversal of the rendering order. Obviously this conflicts with the need we have for highlighting tolls in cases where a road is tolled in one direction, which I think takes precedence.
With that limitation in mind, I think red and yellow blend together better while still highlighting the distinction at low zoom. The green overpowers the blue quite a bit, and it makes it hard to tell this isn't just one road with a weird blue casing:

before:

after:

This look awesome!
Newport Bridge (RI):

Texas:

Naples Tangenziale

Switzerland

There seems to be a lot of other refactor stuff in here, especially with regard to colors, can you confirm that's intended and not bleeding over from other work?

Ope. I moved the shield colors to the color constants file but that was intended for another branch :facepalm:
Does it matter a huge deal, or is the PR okay as-is?

Yep seems ok to me.

authors: Pengor ZeLonewolf claysmalley jleedev zekefarwell

repo: ZeLonewolf/openstreetmap-americana


text:
🛑 Game Server Proxy (prod) is down

In a4f6822, Game Server Proxy (prod) (https://proxy.zebr-a.com/api/Version) was down:

HTTP code: 502
Response time: 488 ms

Resolved: Game Server Proxy (prod) is back up in e88c9f3.

repo: Zebrainy/upptime


text:
Want to add a Drum Kit Project

I want to add this project under GSSOC'22.
Have a look into it.
https://vipin-creator.github.io/Drum-Kit/

It already exists. Feel free to raise another issue.

authors: Astrodevil VIPIN-creator


text:
Palindrome checker #472

This is the PR for the issue Palindrome checker #472

add your project in index and cardsdata file


text:
Whack a mole.

Worked on Issue Number : #467
Made it using JS.
I can assure that it was not plagiarised.
It was a fun project to made.

@NOiR-07 please check and review it.

add your project in the index and cardsdata file

How to add in them?

@NOiR-07

How to add in them?

you can see how others have done, just need to change the name to your project name

Ok just giving all the index content of my file to the main index file of your project?

there is some changes as We've changes the files for the website, so i suggest you to update your forked repo and add your project in cards.json and readme instead of index and cardsdata file


text:
This library doesn't work

With last commit guzzle dependency was changed to guzzleHttp but wasn't updated completely within the code hence resulted in following error:

when i changed the dependency back to guzzle this is what i get:

Any help?

Hmm, I'll see if I can take a look this weekend.

repo: Zetaphor/reddit-api-client


text:
[Bug report]  The czg ai command does not work.

✅ Checklist

[X] I am using the latest version
[X] I have searched FAQ

📄 System Info
System:
    OS: macOS 13.3
    CPU: (12) arm64 Apple M2 Max
    Memory: 956.44 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 19.8.1 - /opt/homebrew/bin/node
    Yarn: 3.5.0 - /opt/homebrew/bin/yarn
    npm: 9.5.1 - /opt/homebrew/bin/npm
  npmGlobalPackages:
    commitizen: 4.3.0

🔎 Description
Concise Description
Using czg CLi in my git repository folder path, the czg ai command does not work.
Expected behavior
I'm pretty sure I still have a balance of about $17 in my account, and I haven't made any calls recently, and api key is rebound.
Steps to reproduce
$> czg ai
Error Message
? Select the type of change that you're committing: feat:     A new feature
ℹ Generating your AI commit subject...
[err]>>>: Fetch OpenAI API message failureThe response HTTP Code: 429
You exceeded your current quota, please check your plan and billing details.

🔗 Reproduction link / repo:
No response

You exceeded your current quota, please check your plan and billing details.

The error is openAI response.
I'm also pretty sure it can work ~ Please check your API key billing details:
https://platform.openai.com/account/usage

I just experienced this issue after setting up a fresh API key with 0 usage.

I just experienced this issue after setting up a fresh API key with 0 usage.

The error message is from OpenAI. please try a mini example by curl command: https://platform.openai.com/docs/quickstart/step-3-sending-your-first-api-request

> Just tested and everything works fine.

Thanks for taking a look @Zhengqbbb; after further investigation this was because I did not have a paid plan and misunderstood the usage limits for a free account.

TL;DR: You need to upgrade to a paid plan. Set up a paid account, add a credit or debit card, and generate a new API key if your old one was generated before the upgrade. It might take 10 minutes or so after you upgrade to a paid plan before the paid account becomes active and the error disappears.

Relevant stackoverflow.
Might be worth noting this in the readme - I'm happy to open a PR if you think this would be useful.

authors: AugusDogus Zhengqbbb guotingchao

repo: Zhengqbbb/cz-git


text:
Not found: Resource localhost/Embedding-Token/embeddings/N10tensorflow3VarE does not exist

问题已经解决

问题已经解决

请问是怎么解决的呀

authors: binggoml dtMndas

repo: ZhuiyiTechnology/roformer-sim


text:
ValueError: attempt to get argmin of an empty sequence

Error Message：
epoch2073
Traceback (most recent call last):
File "e: /wuzhu/Documents/Visual Studio Code/EdgeFed-MARL-MEC-master/AC_run.py", line 88, in
AC. train(MAX_EPOCH, MAX_EP_STEPS, up_freq=up_freq, render=True, render_freq=render_freq)
File "e: \wuzhu\Documents\Visual Studio Code\EdgeFed-MARL-MEC-master\AC_agent.py", line 379, in train
cur_reward = self.actor_act (epoch)
File "e: \wuzhu\Documents \Visual studio Code\EdgeFed-MARL-MEC-master \AC_agent.py", line 243, in actor_act
move _ori = circle_argmax(move _dist, self.env.move_r)
File "e: \wuzhu\Documents \isual Studio Code\EdgeFed-MARL-MEC-master\AC_agent.py", line 156, in circle_argmax
return max_pos[np.argmin(pos_dist)]
File "< array functioninternals>", line 6, in argmin
"F: \anaconda3\envs\test\lib\site-packages \numpy\core\fromnumeric.py", line 1269, in argmin
return _wrapfunc(a,'argmin', axis=axis, out=out)
File "F: \anaconda3\envs\test\lib\site-packages\numpy\core\fromnumeric.py" line 58, in _wrapfunc
return bound (*args,**kwds)
ValueError: attempt to get argmin of an empty sequence
`
Code Section：AC_agent.py
def circle_argmax(move_dist, move_r):
max_pos = np.argwhere(tf.squeeze(move_dist, axis=-1) == np.max(move_dist))
# print(tf.squeeze(move_dist, axis=-1))
pos_dist = np.linalg.norm(max_pos - np.array([move_r, move_r]), axis=1)
# print(max_pos)
return max_pos[np.argmin(pos_dist)]
`
Describe：
Hello, when I was training your code, after the 2073rd round of training, I reported the above error. Have you encountered a similar error message? How was it resolved?

I didn't get that error before. As described, it might be helpful to check the input/output of the model or the NaN errors.

OK, I'll try. Thank you for your reply

repo: Zhuzzq/EdgeFed-MARL-MEC


text:
peer-id GCP tags get lowercased

Each zq2 network host has a peer-id tag indicating its peer id. Sadly, libp2p peer ids are (in general) case sensitive and it seems as though GCP lowercases these, which makes them unparseable.
It would be nice to have a tag containing a reconstructable version of the peer id so we don't need to re-derive it when we want to feed it back to libp2p.

GCP labels annoyingly have to be lowercase

Keys and values can contain only lowercase letters

https://cloud.google.com/compute/docs/labeling-resources#requirements
Going from logs to instance works because the search on the VM instances page is case-insensitive.
If there's no better solution (@frankmeds?) I would suggest we have to just be sad and close this issue.

we will add an extra label with the peer-id base32 encoded

authors: JamesHinshelwood frankmeds rrw-zilliqa


text:
🛑 zinglix.xyz is down

In 7b4bc6e, zinglix.xyz (https://zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zinglix.xyz is back up in 511272f.

repo: ZingLix/blog-mirror-uptime


text:
🛑 blog.zinglix.xyz is down

In 430bcd2, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 91724a4.


text:
🛑 zinglix.netlify.app is down

In b1ec7ed, zinglix.netlify.app (https://zinglix.netlify.app) was down:

HTTP code: 500
Response time: 2073 ms

Resolved: zinglix.netlify.app is back up in cfae9d7.


text:
Updated tail of two cats to save 5 min and 20 sec

changed it to skip the cutscene option instead of wasting time

I'm tempted more for this to remove a highlight option entirely, I think if someone is using this helper to just help with quests vs speed through them they shouldn't be accidentally skipping meaningful content. Equally shouldn't force people to watch the cutscene.

I've removed it for now in https://github.com/Zoinkwiz/quest-helper/commit/b437c9c091fd867ae0046b174e017b48dce5d5da, so closing this PR.

authors: Haavardaw Zoinkwiz

repo: Zoinkwiz/quest-helper


text:
🛑 El Paso Medical Assistant School is down

In 06bae59, El Paso Medical Assistant School (https://elpasomedicalassistant.com/) was down:

HTTP code: 500
Response time: 66 ms

Resolved: El Paso Medical Assistant School is back up in 4078efe.

repo: Zollege/status


text:
🛑 Tyler Dental Assistant School is down

In 8ac7b3d, Tyler Dental Assistant School (https://tylerdentalassistant.com/) was down:

HTTP code: 403
Response time: 127 ms

Resolved: Tyler Dental Assistant School is back up in 68ee94f.