errors when runing segnet: Segmentation fault (core dumped)  and Weights for layer conv1 doesn't exist

two problems for me here
when I run segnet with the pretrained model with :
NET=/home/../jetson-inference/data/networks/FCN-Alexnet-Aerial-FPV-4ch-720p
./segnet-console 0132.png output.png
--prototxt=$NET/deploy.prototxt
--model=$NET/snapshot_iter_1777146.caffemodel
--labels=$NET/fpv-labels.txt
--colors=$NET/fpv-deploy-colors.txt
--input_blob=data
--output_blob=score_fr
the error is as followed:
[TRT]  TensorRT version 5.0.6
[TRT]  detected model format - caffe  (extension '.caffemodel')
[TRT]  desired precision specified for GPU: FASTEST
[TRT]  requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]  native precisions detected for GPU:  FP32, FP16
[TRT]  selecting fastest native precision for GPU:  FP16
[TRT]  attempting to open engine cache file /home/vxgunano/jetson-inference/data/networks/FCN-Alexnet-Aerial-FPV-4ch-720p/snapshot_iter_1777146.caffemodel.2.1.GPU.FP16.engine
[TRT]  cache file not found, profiling network model on device GPU
[TRT]  device GPU, loading /home/vxgunano/jetson-inference/data/networks/FCN-Alexnet-Aerial-FPV-4ch-720p/deploy.prototxt /home/vxgunano/jetson-inference/data/networks/FCN-Alexnet-Aerial-FPV-4ch-720p/snapshot_iter_1777146.caffemodel
[TRT]  failed to retrieve tensor for Output "score_fr"
[TRT]  retrieved Input tensor "data":  3x720x1280
[TRT]  device GPU, configuring CUDA engine
[TRT]  device GPU, building FP16:  ON
[TRT]  device GPU, building INT8:  OFF
[TRT]  device GPU, building CUDA engine (this may take a few minutes the first time a network is loaded)
Segmentation fault (core dumped)
I trained the segnet model as the instruction said, the model worked on tx2, but not nano.
error:
[TRT]  TensorRT version 5.0.6
[TRT]  detected model format - caffe  (extension '.caffemodel')
[TRT]  desired precision specified for GPU: FASTEST
[TRT]  requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]  native precisions detected for GPU:  FP32, FP16
[TRT]  selecting fastest native precision for GPU:  FP16
[TRT]  attempting to open engine cache file /home/vxgunano/cvexp/exp3_epoch_30.0/snapshot_iter_135660.caffemodel.2.1.GPU.FP16.engine
[TRT]  cache file not found, profiling network model on device GPU
[TRT]  device GPU, loading /home/vxgunano/cvexp/exp3_epoch_30.0/deploy.prototxt /home/vxgunano/cvexp/exp3_epoch_30.0/snapshot_iter_135660.caffemodel
Weights for layer conv1 doesn't exist
[TRT]  CaffeParser: ERROR: Attempting to access NULL weights
Weights for layer conv1 doesn't exist
[TRT]  CaffeParser: ERROR: Attempting to access NULL weights
[TRT]  Parameter check failed at: ../builder/Network.cpp::addConvolution::66, condition: kernelWeights.values != nullptr
error parsing layer type Convolution index 1
[TRT]  device GPU, failed to parse caffe network
device GPU, failed to load /home/vxgunano/cvexp/exp3_epoch_30.0/snapshot_iter_135660.caffemodel
segNet -- failed to initialize.
segnet-console:   failed to initialize segnet

I am having the same issue on the nano. any resolution on this?

Are you able to run any of the other segmentation models from the repo?

From: dcguru2016<EMAIL_ADDRESS>Sent: Thursday, June 6, 2019 11:33:41 PM
To: dusty-nv/jetson-inference
Cc: Subscribed
Subject: Re: [dusty-nv/jetson-inference] errors when runing segnet: Segmentation fault (core dumped) and Weights for layer conv1 doesn't exist (#335)
I am having the same issue on the nano. any resolution on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/335?email_source=notifications&email_token=ADVEGK5XF242TGI7ZHCEM53PZHJJLA5CNFSM4HRGDD22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXEYEPI#issuecomment-499745341, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEGK44MIHMUWU6VFH4C3LPZHJJLANCNFSM4HRGDD2Q.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

I am not even able to run segnet-camera. I get killed after
[TRT] device GPU, building CUDA engine (this may take a few minutes the first time a network is loaded.

yes i am able to run other segmentation models
On Fri, Jun 7, 2019 at 6:12 AM Dustin Franklin<EMAIL_ADDRESS>wrote:

Are you able to run any of the other segmentation models from the repo?

From: dcguru2016<EMAIL_ADDRESS>Sent: Thursday, June 6, 2019 11:33:41 PM
To: dusty-nv/jetson-inference
Cc: Subscribed
Subject: Re: [dusty-nv/jetson-inference] errors when runing segnet:
Segmentation fault (core dumped) and Weights for layer conv1 doesn't exist
(#335)
I am having the same issue on the nano. any resolution on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://github.com/dusty-nv/jetson-inference/issues/335?email_source=notifications&email_token=ADVEGK5XF242TGI7ZHCEM53PZHJJLA5CNFSM4HRGDD22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXEYEPI#issuecomment-499745341>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/ADVEGK44MIHMUWU6VFH4C3LPZHJJLANCNFSM4HRGDD2Q

.

This email message is for the sole use of the intended recipient(s) and
may contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by
reply email and destroy all copies of the original message.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dusty-nv/jetson-inference/issues/335?email_source=notifications&email_token=AIX4MW36N3QJS4R2KVBSBHLPZI7DBA5CNFSM4HRGDD22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXFQ7RQ#issuecomment-499847110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIX4MWZCYVQGAZFYNTDYZX3PZI7DBANCNFSM4HRGDD2Q
.

One thing to confirm is that the clock was set correctly before you did the build. If not the build may complete but not all would have downloaded and built correctly.

I have the same issue. I have not idea how to solve it....please help...
[TRT]  failed to retrieve tensor for Output "prob"
[TRT]  device GPU, configuring CUDA engine
[TRT]  device GPU, building FP16:  ON
[TRT]  device GPU, building INT8:  OFF
[TRT]  device GPU, building CUDA engine (this may take a few minutes the first time a network is loaded)
Segmentation fault (core dumped)

Anyone have a fix for it?


Re org deps

Moved deps to dev deps where only available during development/test process

@cramhead there are some tests that I need to perform on this that I don't have yet setup on CI.  Sorry for the delay, been a busy week here.  I am taking a look at it now.  Thanks again!

All good, thanks again! If you find that you have any more updates or if you use this in a project, please let me know!  Thanks!

No problems Ryan.
The pace of change is so fast that it's hard to find a starter that you can
start without having to update everything.
I had some problems when I update the redux-forms in your starter so
switched to using
https://github.com/piotrwitek/react-redux-typescript-starter-kit for now. I
really enjoyed that your starter looked like a complete app right from the
get go and those micro-generators are awesome.
Cheers,
Marc
On Sat, Dec 3, 2016 at 3:09 PM, Ryan Collins<EMAIL_ADDRESS>wrote:

All good, thanks again! If you find that you have any more updates or if
you use this in a project, please let me know! Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RyanCCollins/scalable-react-boilerplate/pull/51#issuecomment-264671897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXj837EpSGIWuksKQGI5u3brELq2Z1pks5rEfa5gaJpZM4K9O6j
.


[FEATURE] Translate the README file to Italian

It is necessary to translate the README.md file into Italian.
README/README-IT.md

I'd like to work on this

@3t8 Okay please open new bug issue


Default Image name & banner information is cut off on Firefox on Debian

This was reported to be occurring on Firefox 38.1.0 ("Debian Iceweasel")

We should probably add some multiple browser UI testing into the mix, since none of the main developers currently have Linux on their computers.

this issue is fixed temporarily uploading the default file in conjunction with a specific case.  H/e when we replace that default image, i suspect it will override and the url we are currently using will no longer be valid.

I've found the [source][https://github.com/twbs/bootstrap/issues/17694] of this issue and identified a fix;
set the width of the .img-responsive class to 100%

This works in staging

and now in production


Redis plugin2

Add support for redis stats

Is this thing on??

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


WIP: Switch to gh actions

Towards #213
TODO:

[ ] Adapt ci from cf-xarray
[ ]  Adapt codestyle from cf-xarray
[ ] Add newer python versions (#212)
[ ] "modernize" setup.py
[ ] Badges

Cool. That was absolutely painless @dcherian! Thanks so much for the pointer.

I got it all from @andersy005's work on https://github.com/NCAR/pypackage-template/

Ill leave the flake 8 linting off for now, since I think it uncovered a minor bug here:
I think it should beAxis(..., fill_value=axis_fillvalue) instead of Axis(..., fill_value=fill_value).
@dcherian could you have a look? We might want to extend the test for this functionality and fix this in a seperate PR (just to keep this one from balooning).

should beAxis(..., fill_value=axis_fillvalue) instead of Axis(..., fill_value=fill_value).

:+1:

Ok nice. This seems done to me. Thanks again for the tremendous help @andersy005 and @dcherian. If you have a minute to check the final changes, I would very much appreciate it.

@rabernat do you think we can merge this?


Fix #1737: Add configuration to include tests from require-jdk[7|8] folders.

Configuration loads tests in testSuite/src/test/require-jdk7 when in JDK7 or JDK8.
Configuration loads tests in testSuite/src/test/require-jdk8 when in JDK8.
Add placeholders for JDK version test.

Review by @sjrd

Then I'll add it to #1720. And test the methods that are only there rather than this placeholders.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1833/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2374/
Test PASSed.


How to submit a bam file for gatk variant calling

I want to call variant given the input as a bam file. I used the following command, but seems that it asked for file project1.csv. I don't know how to create this file (project1.csv). Could anyone help?
Thank you!
./tool/bin/bcbio_nextgen.py  -w template gatk-variant project1.csv data/46-G0452.dedup.bam
Traceback (most recent call last):
File "./tool/bin/bcbio_nextgen.py", line 232, in
setup_info = workflow.setup(kwargs["workflow"], kwargs.pop("inputs"))
File "/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/init.py", line 12, in setup
return workflow.setup(args)
File "/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/template.py", line 525, in setup
project_name, metadata, global_vars, md_file = _pname_and_metadata(args.metadata)
File "/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/template.py", line 324, in _pname_and_metadata
raise ValueError("Did not find input metadata file: %s" % in_file)
ValueError: Did not find input metadata file: project1.csv

Hi,
Maybe this link can help. It would tell you how to create the project1.csv.
https://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#automated-sample-configuration
The documentation is huge so it is difficult to find the right information.
I hope this helps.
Cheers
On Mon, Feb 25, 2019 at 1:49 PM handomsu<EMAIL_ADDRESS>wrote:

I want to call variant given the input as a bam file. I used the following
command, but seems that it asked for file project1.csv. I don't know how to
create this file (project1.csv). Could anyone help?
Thank you!
./tool/bin/bcbio_nextgen.py -w template gatk-variant project1.csv
data/46-G0452.dedup.bam
Traceback (most recent call last):
File "./tool/bin/bcbio_nextgen.py", line 232, in
setup_info = workflow.setup(kwargs["workflow"], kwargs.pop("inputs"))
File
"/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/
init.py", line 12, in setup
return workflow.setup(args)
File
"/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/template.py",
line 525, in setup
project_name, metadata, global_vars, md_file =
_pname_and_metadata(args.metadata)
File
"/raid/sp/haprin/bcbio/anaconda/lib/python2.7/site-packages/bcbio/workflow/template.py",
line 324, in _pname_and_metadata
raise ValueError("Did not find input metadata file: %s" % in_file)
ValueError: Did not find input metadata file: project1.csv
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bcbio/bcbio-nextgen/issues/2699, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABi_HEKybOyVw6Vo39LSlbbUblIYcG0Qks5vRDA7gaJpZM4bQicC
.

Thank you Lorena,
As I don't have any specific region, do you know how to generate such bed file?
/path/to/regions.bed

Thank you Lorena,
As I don't have any specific region, do you know how to generate such bed file?
/path/to/regions.bed

You can ignore it, the most important columns are the first two. The others are optional.
After that command, you will need to check the yaml file is generated has the correct information, like the genome version etc.
cheers


Maintain ordering of "Songs" view

On the "Songs" tab, I like to order the songs by Artist and hence I choose this option. When changing tabs or closing the app though, the setup is lost and I have to set it up again. Is there anyway to add an option to maintain ordering on the "Songs" view?

This is the kind of thing that Google should probably fix on their end.  I'll leave it open to think about it but at the moment I feel as though this is a feature that Google should be implementing


portico_signin: Fix signup text overflowing to icon in Russian.

This is not the right fix for this, but a temporary adjustment to make it look good with minimal impact on other languages and other pages.
Right fix would require changing the structure of the button, which was not easy to do and make it look similar to how it looks now.

Merged, thanks @amanagr!

Thanks for the review @shefbiss ! In general, it's most helpful to review pull requests that have not yet been merged.


fixed the logger for selescrape

@ArjixGamer does this supersede #397? If it does, you should go ahead and close that.


How to use html to markdown feature.

Its a good library. My request is

Code snippets to use html to markdown conversion.
Also how to use html to markdown module as lib separately.

@glidodroid,

use the flexmark-html-parser maven artifact but include dependencies. This module does not have many dependencies because it does not use the flexmark-java AST and generates the markdown directly from HTML.

Sample added to next release:
package com.vladsch.flexmark.samples;

import com.vladsch.flexmark.convert.html.FlexmarkHtmlParser;

public class HtmlToMarkdownSample {
    public static void main(String[] args) {
        String html = "
\n" +
                "
\n" +
                "
Add: live templates starting with .
\n" +
                "
\n" +
                "
\n" +
                "
 Element       	 Abbreviation    	 Expansion
\n" +
                "
\n" +
                "
\n" +
                "
 Abbreviation  	 .abbreviation 	 *[]:
\n" +
                "
 Code fence    	 .codefence    	 ``` ... ```
\n" +
                "
 Explicit link 	 .link         	 []()
\n" +
                "
\n" +
                "
\n" +
                "
\n" +
                "
";
        String markdown = FlexmarkHtmlParser.parse(html);

        System.out.println("HTML:");
        System.out.println(html);

        System.out.println("\nMarkdown:");
        System.out.println(markdown);
    }
}

input:

Add: live templates starting with .

 Element       	 Abbreviation    	 Expansion

 Abbreviation  	 .abbreviation 	 *[]:

 Code fence    	 .codefence    	 ``` ... ```

 Explicit link 	 .link         	 []()

output:
* Add: live templates starting with `.`

  |    Element    |  Abbreviation   |  Expansion  |
  |---------------|-----------------|-------------|
  | Abbreviation  | `.abbreviation` | `*[]:`      |
  | Code fence    | `.codefence`    | ``` ... ``` |
  | Explicit link | `.link`         | `[]()`      |

@glidodroid, HTML conversion to markdown is tweaked for various applications since there is no "standard" way to make the conversion. It is a trial and error endeavour.
If you find some conversions that are wrong or not optimal please open an issue so I can fix it and add it to the tests.


Pycharm don't like instance(docs, DocumentArray[MyDoc])

Context
this code run
from docarray import BaseDocument, DocumentArray

class MyDoc(BaseDocument):
    name: str

docs = DocumentArray[MyDoc]([MyDoc(name='hello') for i in range(4)])

assert isinstance(docs, DocumentArray[MyDoc])

but Pycharm doesn't like it

Probably because it does not detect that DocumentArray[MyDoc] is just a normal class

I would like to resolve this issue

@Hansolo1103 feel free to open a PR !

@Hansolo1103 feel free to open a PR !

Sure will get back to you!

also have you tried running it on VS code?

Nop, but I guess same problem will happen in VS code

I actually tried running it on VS and here is what i get. No red lines and it got executed.

Okay then it must be only a PyCharm problem. I believe this is because PyCharm type checking is a bit more advance. But either case we want to fix it for pycharm :smiley:

ok sure ill run it on pycharm and check what's wrong

HELLO in my point of view   we can  use the typing module like this:
from typing import List
from docarray import BaseDocument, DocumentArray
class MyDoc(BaseDocument):
name: str
docs: DocumentArray[MyDoc] = DocumentArray([MyDoc(name='hello') for i in range(4)])
assert isinstance(docs, DocumentArray[MyDoc])
In this code, we have imported the List type from the typing module and used it to explicitly specify the type of the DocumentArray object. Now PyCharm should not give an error message.

Hey @wanaaqy99 I don't thin this fix the issue.

what if we disable  type checking and use it sparingly so we don't miss the other  errors related to the code
from docarray import BaseDocument, DocumentArray
class MyDoc(BaseDocument):
name: str
docs = DocumentArray([MyDoc(name='hello') for i in range(4)])  # type: ignore
assert isinstance(docs, DocumentArray[MyDoc])

@samsja , @anna-charlotte is this issue still valid?

If this issue can't be reproduced with mypy on the command line I don't see why it should remain open. It seems like it probably has more to do with how type checking is configured in PyCharm than an issue with docarray.
Can anyone having this issue run mypy in the command line and reproduce an error?

It should be reopened. It is still doccarray v2 but before official, release when DoList was still named DocumentArray.


enhancement vertical compaction support unique-key mow

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.94 seconds
load time: 663 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221226033946_clickbench_pr_68549.html


Add IotaDocument::from_keypair_with_network() and WASM binding.

Description of change
Add IotaDocument::from_keypair_with_network(key, network) and expose in WASM bindings.
This was a missing API which required a workaround (see https://github.com/iotaledger/identity.rs/issues/264#issuecomment-843364038).
This PR also include an example in the WASM examples README alongside the identity.Document.fromKeyPair() call (in comments).
Links to any relevant issues
#264 root cause was from a mismatch in network between document and node, and it wasn't obvious how to create a document from a keypair on the test network.
Type of change

[x] Enhancement (a non-breaking change which adds functionality)
[x] Documentation Fix

How the change has been tested
cargo test
Change checklist

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

TIL Rust has no real optional or default arguments to a function, that's weird TBH.
Anywho, Typescript does and I think we can cut a function if we upgrade the WASM fromKeypair function to also handle the network.

TIL Rust has no real optional or default arguments to a function, that's weird TBH.

Heh, yeah, I don't miss it in most cases personally. Many of the situations where default arguments are used it's either, a) better replaced by a builder, or b) ambiguous what the various omitted arguments are (especially when they're the same type).

Typescript does and I think we can cut a function if we upgrade the WASM fromKeypair function to also handle the network

SGTM. Using default arguments is more idiomatic typescript so agree we should follow the convention of the bindings language.

Updated. Although, made the changes from the GitHub editors, :crossed_fingers: no typos/compile errors haha


extra dim withdrawn

Extra dims are withdrawn from the output, even when "extra_dims":"all" is activated in the writers.las stage.

Extra dims are forwarded when using -input_type dir

As far as I can notice, extra dims are withdrawn from the merged output but not from the intermediates las outputs. It might be due to the fact that the merge step doesn't takes account of certains writers.las's options. Such as minor_version, dataformat_id and global_encoding.
I identified this part of the code  wich doens't take account of those options.


Fixed broken realtive links

@diedsmiling Have you built the documentation (jekyll serve --watch) in order to test this?

Sorry, forgot about docs in the path. Fixed one more time, and checked with jekyll serve --watch. Seems to be ok now.


Add how to make TLS 1.2 default on .NET 4.5

Hi All,
Could you please add how to make TLS 1.2 default on .net 4.5?
This is not mentioned anywhere on our official documment. TLS 1.2 is supported on .net but it not a default protocol customers would need to opt-in to use it. The following code will make TLS 1.2 default.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
Can we please add this in our docummentation so people are aware of that?
Thanks,
Helene.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7341fa0a-f474-6c2d-d3c0-7e2df12fbb65
Version Independent ID: e99c489a-7518-d293-ad93-7eaca8b7191a
Content: Transport Layer Security (TLS) best practices with the .NET Framework
Content Source: docs/framework/network-programming/tls.md
Product: dotnet-framework
Technology: dotnet-networking
GitHub Login: @karelz
Microsoft Alias: ncldev

@hepiet Hello. I hope I'm not misunderstanding you, but using ServicePointManager.SecurityProtocol would only set it for a specific app, not as a default for .NET.
The article says to use the registry keys to set the default: https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-your-app-targets-a-net-framework-version-earlier-than-47

Hi @adegeo yes you are correct . For a specific app :)
and I know 4.5 is no longer supported  but some people still use it.
I am just asking if we could include that in the docummentation if they need to specify the SSL/TLS version in the code.
As an example of what they should add.
This is mentioned in several non official blogs on the internet. Just thought might be a good idea.

@karelz Do you have thoughts on this?

@hepiet why would you need the above?
To my best knowledge, if you set the 2 registry keys, TLS 1.2 will be allowed and if the other side supports it, it will be preferred. Is that not the case or am I missing something here?
Using hardcoded value of TLS 1.2 will prevent upgrades to newer protocols like TLS 1.3, when they are supported by the OS. I assume that is not a goal, right?

@karelz That was my thinking too. If you prevent TLS 1.3 in the app then you're vulnerable. However, I thought in the other discussion thread it was pointed out that you can't add TLS 1.3 to .NET 4.5 anyway, you have to upgrade to a later .NET, so hardcoding in this case doesn't prevent TLS 1.3.
Either way though, this article is best practices and I would assume that it isn't a best practice to hardcode the TLS version but instead let the OS control it?

I know this are best pratices but we also know many customers still use TLS 1.2 because it is a requirement for them.
This easy fix mentioned on my ask is shared on many randoms blogs  over the Internet (not official ones) so after getting this feedback from some customers I thought why not ask the .net team to add this here?
This fix is a lot simpler than the one we have in our doc and maybe it would be useful for others who are facing the same problem. Even if people should migrate out of 4.5.
I just wanted to check if the doc could be improved or not. We are always told we should share feedback . If you think this was pointless it is fine.

@hepiet I lost track of this. Thank you very much for sharing your suggestion! I think though we'll keep these docs as-is for now. Cheers!


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
7zip.7zip
Package Version
24.01
Please describe the changes you would like to see
There is a new release available: https://www.7-zip.org/download.html

24.01 is beta. Closing


Error in Plugin Function

I  have created a function and it has been created through an API Call. But when I try to use it in SQL below error comes. Please provide some hints to resolve @ngjaying
Update rule error: Parse SQL SELECT inFunction(),name FROM test error: error getting function inFunction: cannot open /kuiper/plugins/functions/inFunction.so: plugin.Open("/kuiper/plugins/functions/inFunction.so"): Error relocating /kuiper/plugins/functions/inFunction.so: __fprintf_chk: symbol not found.

@sujith1994 There are a lot of limitations for golang plugin system. Did you build and run eKuiper and the plugin in the same env? Are you using alpine version?
I assume you have read the plugin tutorial. If not, please follow the build and deployment process there.

@ngjaying I had build eKuiper(1.4.0-beta) and I made the .so file successfully. That function works fine with locally build ekuiper. The same .so file I had used API Plugin Create a call to create it in 1.3.1-alpine docker.
So now different versions cause issues here right ?, if I use 1.3.1 on both sides (docker and local git clone ), it will work?

Different versions will always fail. And it is just one of the very strict requirements of golang plugin system, many aspects in the env like go version, the go path, the os etc. may fail the plugin runtime. To use native plugin, it will be safer to build the plugin and eKuiper in the exact same env such as the suggested way with docker in the tutorial.
Since you are using 1.4.0-beta, you can also try the portable plugin which is much easier regarding build/deployment.

@ngjaying Thanking you for the help. i have used docker for 1.4.0-beta.1 and there i could able to build and deploy my functions.


Training time is very slow

Prerequisite

[X] I have searched related issues but cannot get the expected help.
[X] I have read the documentation and don't know what to do.

Describe the question
My method requires splicing the segmentation probability map in the original image, and my code is as follows：
@PIPELINES.register_module()
class LoadSegLogit(object):

    def __init__(self,
                 seg_path):
        self.seg_path = seg_path

    def __call__(self, results):
        seg_data = []
        for cls in ['vessel', 'od', 'oc', 'ex', 'he', 'se', 'ma']:
            seg_cls = np.load(
                os.path.join(self.seg_path, cls, results['ori_filename'].replace('.jpg', '.npy'))).astype(
                np.float32)
            seg_data.append(seg_cls)
        seg_data = np.stack(seg_data, axis=-1)
        results['seg_logit'] = seg_data
        return results

    def __repr__(self):
        repr_str = (f'{self.__class__.__name__}('
                    f'seg_path={self.seg_path})')
        return repr_str

@PIPELINES.register_module()
class Collect(object):
    """Collect data from the loader relevant to the specific task.

    This is usually the last stage of the data loader pipeline. Typically keys
    is set to some subset of "img" and "gt_label".

    Args:
        keys (Sequence[str]): Keys of results to be collected in ``data``.
        meta_keys (Sequence[str], optional): Meta keys to be converted to
            ``mmcv.DataContainer`` and collected in ``data[img_metas]``.
            Default: ('filename', 'ori_shape', 'img_shape', 'flip',
            'flip_direction', 'img_norm_cfg')

    Returns:
        dict: The result dict contains the following keys

            - keys in ``self.keys``
            - ``img_metas`` if available
    """

    def __init__(self,
                 keys,
                 meta_keys=('filename', 'ori_filename', 'ori_shape',
                            'img_shape', 'flip', 'flip_direction',
                            'img_norm_cfg'),
                 add_seg=False,
                 test_mode=False):
        self.keys = keys
        self.meta_keys = meta_keys
        self.add_seg = add_seg
        self.test_mode = test_mode

    def __call__(self, results):
        data = {}
        img_meta = {}
        for key in self.meta_keys:
            if key in results:
                img_meta[key] = results[key]
        data['img_metas'] = DC(img_meta, cpu_only=True)

        #############

        if 'seg_logit' in results:
            img = results['img']
            seg_data = results['seg_logit']
            seg_data = seg_data.transpose(2, 0, 1)
            seg_datas = torch.from_numpy(seg_data.copy())
            img = torch.cat([img, seg_datas], dim=0)
            results['img'] = img

        ###############

        for key in self.keys:
            data[key] = results[key]
        return data

    def __repr__(self):
        return self.__class__.__name__ + \
            f'(keys={self.keys}, meta_keys={self.meta_keys})'

However, its training is very slow and I can not find the reason.
My environment is as follows:
sys.platform: linux
Python: 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]
CUDA available: True
GPU 0,1,2,3: GeForce RTX 2080 Ti
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.0, V10.0.13
GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
PyTorch: 1.7.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.2
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.5
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.8.0
OpenCV: 4.6.0
MMCV: 1.5.0
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.2
MMClassification: 0.24.0+

The comparison between the original speed and the speed after adding my method is as follows：
original:
2022-10-15 20:28:53,248 - mmcls - INFO - Epoch [1][100/214]	lr: 7.534e-07, eta: 7:40:31, time: 0.431, data_time: 0.038, memory: 5504, loss: 1.7476
2022-10-15 20:29:31,816 - mmcls - INFO - Epoch [1][200/214]	lr: 1.483e-06, eta: 7:15:27, time: 0.385, data_time: 0.001, memory: 5504, loss: 1.5418
2022-10-15 20:30:19,936 - mmcls - INFO - Epoch [2][100/214]	lr: 2.314e-06, eta: 7:01:08, time: 0.425, data_time: 0.036, memory: 5504, loss: 1.3808
2022-10-15 20:30:57,885 - mmcls - INFO - Epoch [2][200/214]	lr: 3.043e-06, eta: 6:56:21, time: 0.379, data_time: 0.001, memory: 5504, loss: 1.3131

My method:
2022-10-16 23:51:10,149 - mmcls - INFO - Epoch [1][100/214]	lr: 7.534e-07, eta: 5 days, 8:20:30, time: 7.208, data_time: 4.471, memory: 5560, loss: 1.7341
2022-10-17 00:03:08,652 - mmcls - INFO - Epoch [1][200/214]	lr: 1.483e-06, eta: 5 days, 7:56:19, time: 7.185, data_time: 0.569, memory: 5560, loss: 1.5342
2022-10-17 00:12:39,123 - mmcls - INFO - Epoch [2][100/214]	lr: 2.314e-06, eta: 4 days, 12:46:42, time: 4.854, data_time: 0.431, memory: 5560, loss: 1.4362
2022-10-17 00:24:48,312 - mmcls - INFO - Epoch [2][200/214]	lr: 3.043e-06, eta: 4 days, 17:34:45, time: 7.291, data_time: 0.019, memory: 5560, loss: 1.4181

It looks like because of the data transforms.
Please try to increase the workers_per_gpu in the config, or move the seg data loading to the load_annotations method of the dataset class (it will load all these seg data during initialization, may consume large memory, but accelerate the loading.)

Thank you for your reply. I have tried to increase workers_per_gpu, but it's still slow. I don't have enough memory for the second method.

It looks like because of the data transforms. Please try to increase the workers_per_gpu in the config, or move the seg data loading to the load_annotations method of the dataset class (it will load all these seg data during initialization, may consume large memory, but accelerate the loading.)

Thank you for your reply. I tried to increase workers_per_gpu, but it's still slow. I don't have enough memory for the second method.

You can try to concatenate the seg map of all classes in advance and save to one file, and then you can load one file instead of 7 files, which may accelerate if the bottleneck is file reading.

You can try to concatenate the seg map of all classes in advance and save to one file, and then you can load one file instead of 7 files, which may accelerate if the bottleneck is file reading.

Thanks. This method works, although it is still slow.


Added more options to subsonic server configurations

Fixes issue #2 by adding the missing parameters for the libsonic.Connection class (as documented here). The Readme, Heroku configuration, and the .env.example files have also been updated to reflect the new changes.

This is awesome, thanks!


Graphical error at high resolutions

Sometimes they pop up, other times they won't.

@saraphim78 Is this still an issue with the new UI?

I do not believe this is still an issue. The current UI restricts the game size to a maximum (1300x750 currently). This is pictured below with a screen size of 3000x2000:

If I remove the max size restrictions, it game takes the whole screen, but you can see that if the level isn't big enough there can be some funniness:

Either way, I think the OP's problem should be solved unless we hear differently.


Added the cyberSecurity Field and related youtube channel videos.

Add the cybersecurity field
Fixes Issue
closes #928

Changes proposed

created a new folder in a database named cyberSecurity

added files in the cyberSecurity folder

basic.json
certificate.json
tools.json
platform.json

created a new file inside the youtube folder

named cybersecurity and connected link some related youtube videos of cybersecurity.

updated the files

types/index.ts
database/index.ts
database/data.ts

Screenshots

Note to reviewers

Also, please format your code and resolve merge conflicts

@rupali-codes Maam,
I have resolved all the conflicts and made the changes you listed above.
please review them and if they have not been updated please let me know.

@CBID2 @rupali-codes
Corrected all proofreading errors and reviewed them.
please do a review.

@rupali-codes  @CBID2
made changes as you requested please review them and let me know if there are any more changes required to make.
thank you

@rupali-codes done! deleted the file that was repetitive.

@Owais24code please resolve the conflicts so that we can merge this pr

@rupali-codes  @k-deepak04 Please review as, I have made all requested changes and resolved all the merge conflicts.

@k-deepak04

@Owais24code it still has conflicts please resolve those

@Owais24code it still has conflicts please resolve those

@k-deepak04 can you please help with this "page is out of dated please start over" issue.

@rupali-codes Sorry I cannot understand why PR merge has a problem and why vercel showing deployment failed.
can you please help me with this?

@Owais24code it still has conflicts please resolve those

@k-deepak04 can you please help with this "page is out of dated please start over" issue.

@Owais24code I'd be happy to help you with the "page is out of date, please start over" issue. This error typically occurs when the webpage you are trying to access has expired or the information on the page is no longer valid. Here are a few steps you can try to resolve the problem:
Refresh the page: Sometimes, the error message appears due to a temporary issue. Try refreshing the page by pressing the F5 key or clicking the refresh/reload button on your browser.
Clear your browser cache: Cached files can sometimes cause conflicts and display outdated versions of web pages. Clearing your browser's cache can help resolve this issue. The process for clearing the cache varies depending on the browser you're using, but you can usually find the option in the browser's settings or preferences.
Try a different browser: If the issue persists, try accessing the page using a different web browser. This can help determine if the problem is specific to your current browser or if it's a more widespread issue.
Check for updates: Ensure that your browser is up to date. Outdated browser versions can sometimes cause compatibility issues with certain websites. Update your browser to the latest version available.
Contact the website owner: If none of the above steps resolve the issue, it's possible that the website itself is experiencing problems. Reach out to the website owner or administrator and inform them about the error you're encountering. They may be able to provide further assistance or fix the issue on their end.
try this

@Owais24code there you go