text:
pip install fails

pip install django-cprofile-middleware
Collecting django-cprofile-middleware
Using cached https://files.pythonhosted.org/packages/3b/c2/0cb878b0018b54444849d4569c6b36e0688eb1316e363e356228bb5d1b0f/django-cprofile-middleware-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/c4/8qchc1vj479_9v7h_xm8ztw5hj2xk1/T/pip-install-UPHoZq/django-cprofile-middleware/setup.py", line 10, in
with open(path.join(project_path, 'README.md')) as f:
IOError: [Errno 2] No such file or directory: '/private/var/folders/c4/8qchc1vj479_9v7h_xm8ztw5hj2xk1/T/pip-install-UPHoZq/django-cprofile-middleware/README.md'

Fixing now.

Fixed in v1.0.4. Could you give it a try?
https://pypi.org/project/django-cprofile-middleware/1.0.4/

Works thanks.

authors: bryan-woods omarish

repo: omarish/django-cprofile-middleware


text:
Mauro oto/using rspecs documentation format

Hey @etagwerker, @lubc,
This PR adds an article about RSpec's formatting options.
Please check it out, thanks!

@mauro-oto Maybe it would be nice to say that you can put the flag in the .rspec file. So you don't have to write it in each run.

@etagwerker done! :+1:

source: gharchive/pull-request

authors: lubc mauro-oto

license: mit

license_type: permissive

license_source: bigquery


text:
Add Download Counts

As we have quite a lot of downloads it is good to advertise it 😉

👍

repo: omichel/webots

license_source: github-api


text:
Fixed Python3 compatibility for the icon_creator controller

This controller was not PEP-8 compliant (line length) and not compatible with Python3 (encode('utf-8')).
👍

👍

👀

authors: fabienrohrer omichel


text:
Fix controller-programming.md

ditto

:+1:


text:
Update conda-build-all for multiple recipes for same package

This PR updates conda-build-all to handle cases where multiple recipe directories might encode different versions of the same package (like pymbar2, pymbar3).

This hopefully fixes #262 which was created by #244

I think this is working; the only failure seems to be lack of authentication (which does not happen in PRs).

repo: omnia-md/conda-recipes


text:
request.env['omniauth.auth'] is nil in Omniauth Callback

Configuration

Provider Gem: omniauth-google-oauth2, omniauth-facebook, omniauth-vkontakte
Ruby Version: 3.0.2
Framework: ruby on rails 6.1.4.1
Platform: macOS

Expected Behavior
It should allow to login using Google, Facebook, and Vk
Actual Behavior
Exception  NoMethodError undefined method `provider' for nil:NilClass and request.env['omniauth.auth'] is nil in OmniauthCallbackController
Steps to Reproduce
Create app from any rails template https://github.com/alec-c4/kickstart for example
rails new test_application --no-skip-hotwire -T -c bootstrap -j esbuild -d postgresql -m https://raw.githubusercontent.com/alec-c4/ks-rails-bootstrap/master/template.rb

add creadentials
active_record_encryption:
  primary_key: ''
  deterministic_key: ''
  key_derivation_salt: ''
secret_key_base: ''
devise:
  secret_key: ''
google:
  client_id: ''
  client_secret: ''
postmark:
  api_key: ''

and try to login using Google

I feel like this is related to #1061, since the template you're using uses Rails 7

@alec-c4 have you found a fix? im having the same issue

Since omniauth set  omniauth.auth by detect path in rack middleware,  you can find out why omniauth.auth is empty by this :
bundle open omniauth

# edit  lib/omniauth/strategy

289     def on_callback_path?
290       puts "oncall path?: #{on_path?(callback_path)} #{callback_path}, ----- current_path: #{current_path}" # if current_path =~ / filter path/
291       on_path?(callback_path)
292     end

Since omniauth set omniauth.auth by detect path in rack middleware, you can find out why omniauth.auth is empty by this :
bundle open omniauth

# edit  lib/omniauth/strategy

289     def on_callback_path?
290       puts "oncall path?: #{on_path?(callback_path)} #{callback_path}, ----- current_path: #{current_path}" # if current_path =~ / filter path/
291       on_path?(callback_path)
292     end

devise_for :user, controllers: {   omniauth_callbacks: 'user/omniauth_callbacks' }
devise_scope :user do
    get '/auth/google_oauth2/callback' => 'user/omniauth_callbacks#google_oauth2', :as => :google_oauth2_callbacks
end

When I Changed Route ,I Got this issue
/user/auth/google_oauth2/callback => /auth/google_oauth2/callback

@seadfeng I am the same way. Have you found a solution yet?

source: gharchive/issue

authors: BobbyMcWho alec-c4 fffx omarluq seadfeng ytkg

repo: omniauth/omniauth


text:
added: shell.nix

For builds via the Nix package manager

Adding this in case you may find it relevant:
https://github.com/piensa/nur-packages/blob/master/pkgs/imposm/default.nix

Closing this as we won't support platforms that we do not use our self.

authors: ingenieroariel johannesloetzsch olt


text:
Empty password field -> stack trace

Just needs a catcher.

File "/var/lib/snapd/snap/jobbergate-cli/x1/bin/jobbergate", line 8, in
sys.exit(main())
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/core.py", line 1256, in invoke
Command.invoke(self, ctx)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/jobbergate_cli/main.py", line 150, in main
init_token(username, password)
File "/snap/jobbergate-cli/x1/lib/python3.8/site-packages/jobbergate_cli/main.py", line 51, in init_token
JOBBERGATE_API_JWT_PATH.write_text(ret)
File "/usr/lib64/python3.6/pathlib.py", line 1214, in write_text
data.class.name)
TypeError: data must be str, not NoneType

Solved by pull request #41.

Turns out the same thing happens when a wrong password is entered.
I thought that would be caught by the KeyError ("Auth failed for...").
Going to send in a new PR with updated message to reflect this.

Solved by PR #42

Solved by PR #42

repo: omnivector-solutions/jobbergate-cli

license: MIT


text:
Fixed grammatical typo

Changed to "It has many features" from 'I has many features' when mentioning the software in the README.

Thanks!

authors: ondras palerdot

repo: ondras/wwwsqldesigner


text:
Unity 2019

'Build Report' area blank on new VRChat Unity 2019 update.

yup, same here : (

Same result, here is an error message and stack associated with the issue when trying to open build report:
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint Aborting UnityEngine.GUILayoutGroup.GetNext () (at <023156577e4f4156adf0f4b3a3fedf85>:0) UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at <023156577e4f4156adf0f4b3a3fedf85>:0) UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.EditorGUILayout+HorizontalScope..ctor (UnityEngine.GUILayoutOption[] options) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) VRWorldToolkit.WorldDebugger.DrawBuildReportOverviews (UnityEngine.Event current) (at Assets/VRWorldToolkit/Scripts/Editor/WorldDebugger.cs:2949) VRWorldToolkit.WorldDebugger.OnGUI () (at Assets/VRWorldToolkit/Scripts/Editor/WorldDebugger.cs:2930) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.HostView.Invoke (System.String methodName) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.DockArea.OldOnGUI () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) Rethrow as ImmediateModeException UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.Panel.UpdateForRepaint () (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <023156577e4f4156adf0f4b3a3fedf85>:0)

Same here, mine back and forths between that error and this one:
InvalidOperationException: TreeView: 'rootItem.children == null'. Did you forget to add children? If you intend to only create the list of rows (not the full tree) then you need to override: BuildRows, GetAncestors and GetDescendantsThatHaveChildren. UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ValidateRootItem () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.IMGUI.Controls.TreeView.Reload () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) VRWorldToolkit.BuildReportTreeView..ctor (UnityEditor.IMGUI.Controls.TreeViewState state, UnityEditor.IMGUI.Controls.MultiColumnHeader multiColumnHeader, UnityEditor.Build.Reporting.BuildReport report) (at Assets/VRWorldToolkit/Scripts/Editor/BuildReportTreeView.cs:36) VRWorldToolkit.WorldDebugger.InitWhenNeeded () (at Assets/VRWorldToolkit/Scripts/Editor/WorldDebugger.cs:2842) VRWorldToolkit.WorldDebugger.OnGUI () (at Assets/VRWorldToolkit/Scripts/Editor/WorldDebugger.cs:2926) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.HostView.Invoke (System.String methodName) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEditor.DockArea.OldOnGUI () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <aea3cceceb0c44ea9855b62119e9be3b>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I will be releasing a new version that fixes Unity 2019 compatibility later today or tomorrow.

Latest release has been fixed for Unity 2019

authors: Belphagore TheZiver oneVR rets34

repo: oneVR/VRWorldToolkit


text:
fix: typos and grammatical mistakes in README.md

Discription
fixed many typos and grammatical mistakes for better readability

thanks!

license: WTFPL


text:
feat: reprovision cluster on Talos v1.8.4

Hardware Transcoding is busted on Talos v1.9.0
Ceph is busted with TRIM nonsense on v19

Shouldn't it be enough to just downgrade talos?

I'm not sure if I can downgrade 1.9.0 to 1.8.x, plus I need to downgrade ceph to fix other issues

I'm not sure if I can downgrade 1.9.0 to 1.8.x

https://www.talos.dev/v1.9/reference/cli/#talosctl-rollback
The one node I tried this against is stuck in NotReady without a responding API however, so need to check it when I get home.
But you got one of them fancy KVM's, so maybe you'll have better luck than I have! :1st_place_medal:

plus I need to downgrade ceph to fix other unrelated issues

Woop, It just got back up - so it was as easy as rollback - took some time though.

That's the problem.
customization:
    systemExtensions:
        officialExtensions:
            - siderolabs/i915
            - siderolabs/intel-ucode

That solved it for me.
I'm running on optiplex'es.

I was able to get transcoding working on 1.9.0 afterall, turns out I wasn't powercycling the nodes during upgrade, only a kexec 😠


text:
Use pattern matching to simplify switch blocks.

(Plus various other cleanup.)
I noticed a lot of nested switch blocks that really don't need to be that way. I didn't test this (I don't care to install dependencies like tink_macro), but it should all be equivalent.

Sorry for taking FOREVER to look at the PR.  I'm so unused to people posting them that I rarely look.
Regarding the nested switches, is there a reason you prefer combining the switches at a unified level?  I like the use of pattern matching, but in some cases it makes some duplication.  I'm not sure which is clearer TBH.

I don't feel like it's that much duplication, but in that specific case there's an easier option. Just disallow all fields named one of those things, function or otherwise. I know this doesn't work for EConst, but I don't think those are that bad either.
As I see it, there are two main benefits here. First, you don't have to scroll as far, either vertically or horizontally. Second, you can see the whole object in one place, with variables and values side by side.

repo: onehundredfeet/hmecs


text:
Storing bad data via insert trigger

Would like to rewrite the insert flow so that bad data can be inserted as bytea instead of json.  The design is yet to be determined.  This may or may not get into 1.0.

Tentatively setting milestone of 1.0, but we can drop this if needed.

repo: onemoredata/bagger


text:
mongodb version update

mongo 6.0.2 (latest) do not support some queries.
Fixed : Unsupported OP_QUERY command: count. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal, code: 352, codeName: UnsupportedOpQueryCommand}

Thanks for the PR. It should be published within the next our.

Looks like I can't publish this at the moment until https://github.com/bytedance/unpub/pull/85 is accepted into unpubd.

authors: atbudak bsutton

repo: onepub-dev/unpubd


text:
Fixed NullPointerException in Valid_principal_token method.

ValidationFactors field can't be empty when using new Crowd versions.
wsdl:in2</wsdl:in2> needs to be in the message though, so empty string parameter added to the authenticated_crowd_call method call.

Tested locally and fixed the "Not enough message parts were received for the operation." error. Works now ok when tested locally.

repo: onesto/faction


text:
Add class to cache images without using main thread

As described in this issue, prefetching images on the main thread can block UI.
This pull request implements @morisk solution as separate class for caching images without going to the main thread.

Hi, @joystate
Thanks for it!
I am so sorry that I recently didn't get a chance to look at the issues. The discussion on that issue looks reasonable and I wish I could interact it soon. But I wonder why you need to make these change in a separated class. Can it be an improvement to the original ImageFetcher?

Hi, @joystate .
Thanks for your PR.
I also think we don't need a new class to do it. we can improve ImageFetcher.
If you wanna use a new object to do it, I think it's better that use a struct instead of a class.
Swift prefer to use guard to do the early exit

authors: JacobMao joystate onevcat

repo: onevcat/Kingfisher


text:
handle displaying accounts not created by wallet in authz details

fixes issue #87

@justinbarry can your team check this PR I think it should either be merged or closed as it's pretty stale.

Closing as stale.

authors: chriswayoub justinbarry sideninja

repo: onflow/fcl-dev-wallet


text:
Disable account creation command for mainnet

Issue Description:
Currently, the flow accounts create command is enabled for mainnet in the CLI. This command allows users to create accounts directly on the mainnet, which could lead to unintended consequences or misuse. To prevent this, the flow accounts create command should be disabled specifically for the mainnet.
Suggested Solution:
When users attempt to use flow accounts create on mainnet, it should display a message guiding them on how to create an account for mainnet using alternative methods.

What are the alternate methods?

bumping this due to recent question in discord - Do we have alternative dev-focussed paths for Mainnet account creation?

authors: chasefleming sisyphusSmiling turbolent

repo: onflow/flow-cli


text:
Auto update to onflow/cadence v0.39.14

Description
Automatically update to:

onflow/cadence v0.39.14
onflow/flow-go-sdk v0.41.9
onflow/flow-go 82d6e5f45ca1
onflow/flow-emulator v0.52.0
onflow/cadence-tools/test v0.9.3
onflow/cadence-tools/lint v0.10.1
onflow/cadence-tools/languageserver v0.30.1

Codecov Report

Merging #1126 (8243d0c) into master (8c42ef6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1126   +/-   ##
=======================================
  Coverage   39.28%   39.28%
=======================================
  Files          37       37
  Lines        1876     1876
=======================================
  Hits          737      737
  Misses       1051     1051
  Partials       88       88

Flag
Coverage Δ

unittests
39.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

authors: SupunS codecov-commenter


text:
Fix link to /concepts/mainent

Description

Remove .mdx extension from link to /concepts/mainnet

This page no longer exists. I updated the link in cbd894b7977f03eb7a8a0be7c52587cf8167d1dd

repo: onflow/flow


text:
Fix JSRoutingBundle dependency

Fix friendsofsymfony/jsrouting-bundle dependency by changing it from dev-master to ~2.0 (2.0 is about to be released and currently works the same).

Coverage remained the same at 55.186% when pulling ebecba346cfe991f5666a032d16ebb5b30ec9870 on tompoc:fixed_dependencies into 9817d4c4a41b9c3195d221d9c52800f4ac216f2a on ongr-io:master.

But it's not released yet. After merge bundle won't work anymore :)

authors: coveralls saimaz tompoc

repo: ongr-io/TranslationsBundle


text:
[Prototype] #2019 - Part 2 - Output some documentation for configuration settings

We have a new API for registering configuration variables w/ metadata (like documentation, whether the setting is hot-reloadable, etc), but we aren't really using it yet.
This change checks to see if there is metadata defined as part of the configuration registration, and outputs in the reference buffer:

A couple things remaining:

[ ] Filter out the 'activate' and 'deactivate' (undefined) settings. These were automatically filtered out in the previous JSON.stringify strategy.
[ ] Add a Ci Test - this can add a configuration value w/ metadata, and validate it shows up in the reference buffer.

A next step later is that we don't have a setting for the allowed set of values for the configuration setting - we should potentially add that as part of the metadata.

Thinking about this, could a different version of this output markdown?
That is, this (alongside #2094) could be used to auto generate our config docs potentially.
If we have the comments, potential values and config name being output to a file, we have everything we need to make the doc page automatically.
All we'd need is a slightly different function that instead of outputting the JSON file, outputs markdown in some fashion.
On a different  note, if some examples of how to comment the docs are given, I could get started on commenting the current commands soon, to help this be worth while.

Thinking about this, could a different version of this output markdown?

Definitely! We could even have a CiTest that generates the markdown:
const values = oni.configuration.getValues()
Object.keys(values).forEach((configurationName) => {
       const defaultValue = values[configurationName]
       const metadata = oni.configuration.getMetadata(configurationName)

       appendConfigurationDescriptionToMarkdown(configurationName, defaultValue, metadata.description)
})

We just need the appendConfigurationDescriptionToMarkdown function, and render it in place of the JSON, or output to a file, etc.
I think we have everything we need to make that happen!

On a different note, if some examples of how to comment the docs are given, I could get started on commenting the current commands soon, to help this be worth while.

Definitely. I think the only examples we have so far are in the browser feature:
https://github.com/onivim/oni/blob/3bb8412b0d0839e45a51ba579109a094721d310b/browser/src/Services/Browser/index.tsx#L104
We'd basically need to start moving configuration values out of IConfigurationValues.ts/DefaultConfiguration.ts into these configuration.registerSetting calls.
I think a good starting point would be the autoClosingPairs.enabled and autoClosingPairs.default settings. We could move these from DefaultConfiguration.ts and IConfigurationValues.ts into the activate method of the AutoClosingPairs service, and use the configuration.registerSetting call to initialize and add some documentation to them.
Would be awesome to have help, the more configuration values we have migrated to this new API, the more benefit we'll get from auto-generating the docs 👍 Keep me posted if you have any questions!

authors: CrossR bryphe

repo: onivim/oni


text:
For quality report use a cost function which takes into account by how much the prediction is wrong

This is another addition to the stats output.
Instead of just counting how often the rating system predicted the outcome of a game wrong, this PR takes into account by how much the prediction was wrong. This has the advantage of penalizing ratings more, when they are far away of the real skill, and ratings less if they are closer to the real rating.

In addition, when calculating stats, assume RD=0, which is the win probability in the Bradley-Terry model.

Thanks for all the work here @flovo, sorry it took so long to get these merged.

Thanks for all the work here @flovo, sorry it took so long to get these merged.

authors: anoek flovo

repo: online-go/goratings


text:
p 160 에 오탈자를 발견한것 같습니다.

안녕하세요, 좋은 내용의 책을 써주셔서 정말 재밌게 읽고 있는데요.
책을 읽던 도중 p160 1차 동차성 부분에 오타로 생각되어지는 부분을 발견한것 같은데요.
페이지 윗부분에서
추가로 1차 동차성을 만족하는지도 확인해보자.
- 좌변의 수식: kf(v) ...생략
- 우변의 수식: f(kv) ...생략
f(v1 + v2) = f(v1) + f(v2)  <- 이부분

이 부분은 가법성에 대한 식이므로 1차 동차성에 대한 식인 f(kv) = kf(v)로 바뀌어야 하지 않나 싶어 이슈로 남깁니다.

네 그렇네요.. 160페이지에 뭔가가 씌웠나보네요.
수식은 다음과 같이 정리되어야 합니다. 제보 감사합니다!

해당 내용은 이 책의 공식 정오표 페이지에 올려뒀습니다. 오류 사항 알려주셔서 고맙습니다. 추후 증쇄시에도 반영하겠습니다.
<이득우의 게임 수학> 정오표 : https://www.onlybook.co.kr/entry/gamemath-errata

authors: bodguy ideugu onlybooks

repo: onlybooks/gamemath


text:
Exiting Zen mode?

Is there a way to exit Zen mode (without refreshing the browser)? If so, I haven't been able to figure it out.

Nope, I never got around to putting that in. Did you want to submit a pull request?

authors: JakeGinnivan kendaleiv


text:
Compiling bidaf-9.onnx takes 170GB of memory

When I attempt to compile the bidaf-9 model from the onnx model zoo, compiling stops after about 7 minutes with no information.
Watching memory usage during compiling, it uses about 300mb upt to about 5 min. After that, it starts to grow reaching just short of 60Gb before it gets killed at 7 min, presumably by the Linux OOM Killer as my system runs out of memory.

@negiyas reported he was able to successfully compile the model but it took 170Gb of memory.
@imaihal reported if LLVM patch https://reviews.llvm.org/D148487 is applied, memory usage caps at 1GB and takes about 5 min.
@tungld do you have bandwidth to see if we can get your llvm patch merged into llvm to fix the issue?

I thought we fixed this problem originally observed in https://github.com/onnx/onnx-mlir/issues/2084 last year but I guess @tungld's LLVM patch was reverted due to some problem?

@gongsu832 yes, I did the LLVM patch but it somehow caused flang in llvm failed, so it was reverted.

Hi all, I modified @tungld's LLVM patch so it doesn't crash the repro in https://github.com/llvm/llvm-project/issues/62802 which cause the patch being reverted.
Could anyone help to test if it still helps bidaf-9 model?  (I don't know how to setup onnx-mlir to run an onnx model :( )
Here's the modified LLVM patch.
dangling-const.patch
I'll create a pull request to llvm repo once we can confirm the patch helps.

@python3kgae great, thanks for your patch! It looks like your patch is for old LLVM code. Do you have a patch for recent LLVM code?

@python3kgae I checked bidaf-9 with your patch, and memory consumption was peak at around 1.7 GB. So it does help bidaf-9.
Thank you very much @python3kgae!

@python3kgae great, thanks for your patch! It looks like your patch is for old LLVM code. Do you have a patch for recent LLVM code?

I'm using old LLVM code to test the old repro.
I'll change to recent LLVM code when create pull request to LLVM repo.

Pull request created https://github.com/llvm/llvm-project/pull/82708

I tried to run
onnx-mlir bidaf-9.onnx
But hit error in
https://github.com/onnx/onnx-mlir/blob/main/src/Conversion/ONNXToKrnl/Math/Reduction.cpp#L709 because estimatedSimdLoopTripCount not initialized.
Is this expected for Windows build of onnx-mlir?

I tried to run onnx-mlir bidaf-9.onnx But hit error in https://github.com/onnx/onnx-mlir/blob/main/src/Conversion/ONNXToKrnl/Math/Reduction.cpp#L709 because estimatedSimdLoopTripCount not initialized.
Is this expected for Windows build of onnx-mlir?

SIMD related code typically only works on s390x Linux so failure on Windows isn't surprising. @AlexandreEichenberger should be able to provide more definitive answer since he wrote most of the SIMD code.

Created a PR to create only one globalOp for all strings in a string literal https://github.com/onnx/onnx-mlir/pull/2727
This could save a lot of time when debugging bidaf-9 model.

The fix is in https://github.com/llvm/llvm-project/commit/c11627c2f4d550613a3cb360c89a0cf52d2eb720

@python3kgae thanks so much!!!

@python3kgae thanks so much!!!

Thank you for create this project :)

Closing as this was fixed by recent llvm uplift.

repo: onnx/onnx-mlir


text:
Print type of ONNX operations's input operand at runtime

Activate instrumentation using
onnx-mlir mnist.onnx --instrument-onnx-signature

and run will results in this output
run-onnx-lib mnist.so
Load model file mnist.so with entry point run_main_graph
MaxPoolSingleOut:
  0: 1x1x28x28xfloat

Constant:
  0: 2xint64_t

Reshape:
  0: 1x1x14x14xfloat
  1: 2xint64_t

Constant:
  0: 128x196xfloat

Constant:
  0: 128xfloat

Gemm:
  0: 1x196xfloat
  1: 128x196xfloat
  2: 128xfloat

Relu:
  0: 1x128xfloat

Constant:
  0: 10x128xfloat

Constant:
  0: 10xfloat

Gemm:
  0: 1x128xfloat
  1: 10x128xfloat
  2: 10xfloat

Softmax:
  0: 1x10xfloat

Implemented by adding a pass that adds for each ONNX op a ONNXPrintSignatureOp, which eventually get lowered to a sequence of krnl.printf and krnl.printTensor.
I modified  krnl.printTensor to take an optional format command  at the beginning of its msg input string. The following formats are defined:

%s: detailed signature (including shape, type, offsets),
%t: compact type (ala MLIR: 32x16xfloat),
%d: data values.

When no formatting is provided, "%s%d" is used (detailed signature and data) by default.

I think this is better!

Jenkins Linux ppc64le Build #5934 [push] Print type of ONNX opera... started at 14:19

Jenkins Linux amd64 Build #6822 [push] Print type of ONNX opera... started at 13:18

Jenkins Linux s390x Build #6837 [push] Print type of ONNX opera... started at 14:18

Jenkins Linux amd64 Build #6822 [push] Print type of ONNX opera... aborted after 2 min 32 sec

Jenkins Linux ppc64le Build #5934 [push] Print type of ONNX opera... aborted after 2 min 37 sec

Jenkins Linux s390x Build #6837 [push] Print type of ONNX opera... aborted after 2 min 37 sec


text:
Handling the measurements associated with multiple runs

Using the RunONNXModel.py, we can generate several perf results which are listed in the measurement file (or stdout) separated by ==START-REPORT== strings.
ONNX_MLIR_INSTRUMENT_FILE=run.log RunONNXModel.py -m softmax1.mlir -c "-O3 -mcpu=z16 -maccel=NNPA -shapeInformation=0:32x32x64 -profile-ir=ZHigh" -w 2 -n 24

resulting in this
==START-REPORT==
==PERF-REPORT==, onnx.Constant, softmax1.mlir:3, before, 0.000004, 0.000004
==PERF-REPORT==, onnx.Constant, softmax1.mlir:3, after, 0.000001, 0.000005
==PERF-REPORT==, onnx.Max, softmax1.mlir:3, before, 0.000000, 0.000005
==PERF-REPORT==, onnx.Max, softmax1.mlir:3, after, 0.000047, 0.000052
==PERF-REPORT==, zhigh.Stick, softmax1.mlir:3, before, 0.000000, 0.000052
==PERF-REPORT==, zhigh.Stick, softmax1.mlir:3, after, 0.000037, 0.000089
==PERF-REPORT==, zhigh.Softmax, softmax1.mlir:3, before, 0.000001, 0.000090
==PERF-REPORT==, zhigh.Softmax, softmax1.mlir:3, after, 0.000183, 0.000273
==PERF-REPORT==, zhigh.Unstick, softmax1.mlir:3, before, 0.000001, 0.000274
==PERF-REPORT==, zhigh.Unstick, softmax1.mlir:3, after, 0.000015, 0.000289
==START-REPORT==
==PERF-REPORT==, onnx.Constant, softmax1.mlir:3, before, 0.000000, 0.000000
==PERF-REPORT==, onnx.Constant, softmax1.mlir:3, after, 0.000001, 0.000001
==PERF-REPORT==, onnx.Max, softmax1.mlir:3, before, 0.000000, 0.000001
...

You can then feed it to the make-report.py which will remove the top/bottom quartile and then report the average of the remaining one. The same -warmup option is used to discard the initial runs.
  make-report.py -r run24.log  -w 2
Analyse PERF
Gather stats from 26 measurement sets with 2 warmup; keep inner 12 experiment(s)
Statistic legend:
  op-name: num, average time (s), cumulative time (s), percent of total

Statistics start, all ops, ordered_by time, tot_time 0.0002203
  zhigh.Softmax, 1, 0.0001777, 0.0001777, 80.7%
  zhigh.Stick, 1, 0.0000148, 0.0000148, 6.7%
  zhigh.Unstick, 1, 0.0000140, 0.0000140, 6.4%
  onnx.Max, 1, 0.0000096, 0.0000096, 4.3%
  onnx.Constant, 1, 0.0000003, 0.0000003, 0.2%
Statistics end, all ops, ordered_by time, tot_time 0.0002203

@tungld trying to average the results of multiple runs. Technical question, is there an easy way to add instruction to be the first and the last when inserting instrumentation so that I may initialize/close a file? Right now I only initialize during the first... which is ok but not great. Thanks

@tungld trying to average the results of multiple runs. Technical question, is there an easy way to add instruction to be the first and the last when inserting instrumentation so that I may initialize/close a file? Right now I only initialize during the first... which is ok but not great. Thanks

I don't know how to determine the last instrument point, but we can call a function to close the file at the end of the entry point run_main_graph. In that case, we would open the file with the append mode.

Jenkins Linux s390x Build #12952 [push] Handling the measurement... started at 14:15

Jenkins Linux amd64 Build #12928 [push] Handling the measurement... passed after 1 hr 3 min

Jenkins Linux s390x Build #12952 [push] Handling the measurement... passed after 1 hr 16 min

Jenkins Linux ppc64le Build #11945 [push] Handling the measurement... passed after 1 hr 47 min


text:
add default install prefix

Description
adding and using GNUInstallDirs on Linux platform ...
GitHub Issues
... as a suggestion to close #218

Thanks!

repo: onqtam/doctest


text:
Enable video after start only audio call

I'm sorry can not find in the documentation
how to request a new SDP with the included video and send re-invite, without completing the current only audio call
I start a call like this
var options = {
        media: {
            constraints: {
                audio: {
                    optional:[
                        {googEchoCancellation:true},
                        {googAutoGainControl:true},
                        {googNoiseSuppression:true},
                        {googHighpassFilter:true},
                        {googAudioMirroring:false},
                        {googNoiseSuppression2:true},
                        {googEchoCancellation2:true},
                        {googAutoGainControl2:true},
                        {googDucking:false}
                    ]
                },
                video: false
            },
            render: {
                remote: this.getRemoteVideo(),
                local: this.getLocalVideo()
            }
        }
    };

var session = ua.invite('sip:'+number+'@'+host, options);

@Slawutich you can add a MediaStream to the PeerConnection and then call session.sendReinvite. You can get at the PeerConnection with session.mediaHandler.peerConnection.

Thank you very much
but it seems that for the new video stream are no candidates in the SDP
I'll look again, I can somewhere made a mistake

I think I'm facing the same problem as you:  the re-INVITE is being sent before the video candidates are collected.
Before I go digging deep into the code, did you manage to find the problem?

no
I was very busy, so it was not possible to solve the problem

Thanks @Slawutich I'll try to get time to delve into the code.

onIceCompleted does not wait for the selection of candidates and immediately called
var mediaHandler = session.mediaHandler;

mediaHandler.mediaStreamManager.acquire({media: {
	constraints: {
		audio: false,
		video: true
	}
}})
.then(function acquireSucceeded(streams) {
	/**
	 * add to local media, after the end of call stream must be deleted
	 */
	mediaHandler.mediaStreamManager.release(mediaHandler.localMedia);
	mediaHandler.peerConnection.removeStream(mediaHandler.localMedia[0]);
	mediaHandler.localMedia = streams;

	mediaHandler.addStreams(streams)
	.then(function streamAdditionSucceeded(streams){
		/**
		 * reset onIceCompleted, after setLocalDescription he immediately called
		 * without waiting for the collection of candidates
		 */
		mediaHandler.onIceCompleted = SIP.Utils.defer();
		mediaHandler.onIceCompleted.promise.then(function(pc) {
			mediaHandler.emit('iceGatheringComplete', pc);
			if (mediaHandler.iceCheckingTimer) {
				SIP.Timers.clearTimeout(mediaHandler.iceCheckingTimer);
				mediaHandler.iceCheckingTimer = null;
			}
		});

		session.sendReinvite();
	},
	function streamAdditionSucceededError(err){
		console.log('streamAdditionSucceededError: ', err)
	});

	return streams;

}, function acquireFailed(err) {
	console.log('acquireFailed: ', err);
})

but remote video still does not appear, only the local video

Any news about this issue? PR looked promissing, especially in terms of api ( session.sendReinvite({media: { constraints: { video: true } }))
renegotiation and multiple streams work good in both Chrome and Firefox (although they do not interop well due to Plan B being used in Chrome and Unified plan in Firefox). I do not know for sure which one is used in FS/Asterisk, so may be this was the problem of PR not working in Chrome?
This is a very desired functionality nowadays - to be able to enable/disable video without audio stream interrupt.

I asked on a question on the WebRTC discussion forum: https://groups.google.com/forum/#!topic/discuss-webrtc/tcLBoTOpxtI
It looks like I need to listen on the stream's onaddtrack() event.  Hopefully, I can do that today.

New media may be added in one of the following ways:

PC.addStream(new_stream), PC.removeStream(old_stream) - new stream (with new tracks) is added and old one is then removed. This is supported currently in Chrome, but will be removed in the near future because these methods are not present in the spec any more. This is also a bad approach because audio strem gets interruped for some time, so it may lead to a minor sound lag. PC.onaddstream should be listened then.
PC.addTrack() - current spec, suported in Firefox and in Chrome 49 (hopefully: https://code.google.com/p/chromium/issues/detail?id=465349). Here you should listen to PS.ontrack
Stream.addTrack() - supported in Chrome currently (Firefox already implemented in v44: https://developer.mozilla.org/en-US/Firefox/Releases/44). I did not test this approach ever.

So there is not single way which will work in both Chrome and Firefox today (: I think you should look into implementing both 2 and 3, but both need testing with FS. May be some sdp conversions will be required on client side depending on the current browser. You could look into this project for some useful information: https://github.com/jitsi/sdp-interop

@soulhunter1987 I'm only interested in the remote stream which gets automatically added to the stream by the PeerConnection which makes things easier!  All I have to do is call the MediaHandler render() function whenever a onaddstream or onaddtrack event is received.

It is if new track has been added by the other leg, and what if you want to add track (enable video) by yourself? You should anyway call PC.addTrack/Stream.addTrack() then.

SIP.js already handled the addition of the local track.  I must admit I don't know how it does it.  But, it does work!

And what is the syntax for doing that? I did not see it anywhere in the docs...

I don't know how it does it - it just does!!!!
The docs could do with a bit of an update in the area of the re-INVITE.

I don't know how it does it - it just does!!!!

It is not possible ) I searched through sip.js source code and only found calls to PC.addStream(), so it may (possibly) send several streams (not tracks) at one time. One of them may contain only audio track and the second one (if two streams are send) only video track. That's OK, but you would have to render both of them in separate media elements (and they will not be synchronized properly), because only one stream may be renderered by audio/video element at a time. So this is not so easy to solve currently. I suggest you to try using Stream.addTrack()/removeTrack() and make tests with current Chrome and FF 44 Beta (which adds support for stream.addTrack/stream.removeTrack). But all my advices are related to raw WebRTC only (broswer to browser direct call), there may be other issues related to WebRTC multistream/multitrack support in FS/Asterisk.

Hm, I see that you made new changes to PR - and you say it really works now? If it does - it seems that new aquired stream is added locally with PC.addStream(), but when some media it added by the other leg - FS sends the SAME stream with just new track in the SDP. That's some king of a big mess... But I admit that it might work according to current browser support.

Can you retest this with our new renegotiation guide and  0.8.0? We think that should resolve this issue. If we do not hear back by 11/1/17 we will close this issue. Thanks.

As stated in previous post, closing due to inactivity and proposed solution in 0.8.X. If this turns out to still be an issue, please re-open.

authors: Slawutich egreenmachine markandrus rscreene soulhunter1987


text:
Timer on/off payload

When setting the timer on/off payload to msg.payload, the countdown node sends out {"payload": "payload"} instead of the payload from the incoming message.
This does not depend on the topic.

Agreed, it appears that this node does not keep anything from the previous node, but creates a totally new payload.
It would be great if this node kept the previous nodes payloads, and only overrides if set to in config.

I've fixed in my fork: https://github.com/marc-gist/node-red-contrib-countdown

I have incooperated marc-gist fix to this issue with the current version

authors: marc-gist ontje wpirkl

repo: ontje/node-red-contrib-countdown


text:
Request for Docker

Think this way, we could all avoid library incompatibility issues and enjoy it with even greater with fellow internet buds.

Super logical, but maybe the microphone and screenshot mechanism can be really hard.

We will publish within 3 days later

authors: Bartupso Playerrrrr onuratakan

repo: onuratakan/gpt-computer-assistant


text:
Adds double newline when endOfLine: crlf is configured in prettier

Dependency information
WebStorm (with "run prettier on save" enabled) on Windows
Steps to reproduce
I have this prettier config in package.json:
  "prettier": {
    "printWidth": 120,
    "endOfLine": "crlf",
    "plugins": ["prettier-plugin-merge"]
  }

Note: usually prettier-plugin-tailwindcss and prettier-plugin-classnames are in the included at the start of the array, but I omitted them as the issue is causes by the prettier-plugin-merge plugin.
The current behavior

The expected behavior

Hello! Thanks for reporting the issue!
Unfortunately, I've only used Webstorm a little bit, so it's difficult to reproduce this issue with Webstorm.
Can you confirm that this is reproduced in VSCode with the same Prettier settings and code? If setting up VSCode is difficult, can you provide me with the minimum repository to reproduce the issue?

I got the same bug. Below is my .pretierrc.json file.
{
"endOfLine": "auto",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"singleAttributePerLine": true,
"bracketSpacing": true,
"arrowParens": "always",
"trailingComma": "es5",
"plugins": [
"prettier-plugin-tailwindcss",
"prettier-plugin-classnames",
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-merge"
],
"importOrder": [
"^react",
"^next",
"^lucide-react",
"<THIRD_PARTY_MODULES>",
"^~/service/(.*)$",
"^~/hooks/(.*)$",
"^~/provider/(.*)$",
"^~/components/(.*)$",
"^~/utils/(.*)$",

"^[./]"

],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}

@n2k3 @osh6006 Fixed in v0.7.1, check it out!


text:
Fix node update

😄

I appreciate all of these. Thanks man!!!!
Passing config={{ options: { roughness: number('roughness', 0) } }} from Storybook, to ReactRough or ReactRoughSvg doesn't get updated mainly because the config get plugged in at the render props.

🤔  I actually thought of this too. There might be a catch though. The component themselves accept their own configs.
	<Rectangle
		x={number('x', 15)}
		y={number('y', 15)}
		width={number('width', 80)}
		fill={color('color', 'red')}
		height={number('height', 80)}
		roughness={number('roughnessRect', 80)}
	/>

It won't be nice to overwrite their own config with the parent's config. I don't know if there's a way to know which config was used in drawing the shape....

🤔 I actually thought of this too. There might be a catch though. The component themselves accept their own configs.
	<Rectangle
		x={number('x', 15)}
		y={number('y', 15)}
		width={number('width', 80)}
		fill={color('color', 'red')}
		height={number('height', 80)}
		roughness={number('roughnessRect', 80)}
	/>

It won't be nice to overwrite their own config with the parent's config. I don't know if there's a way to know which config was used in drawing the shape....

Yeah, you're right. But, it won't be overwriting their own config. One it uses a different thing from what exists in the global config, it should just take that.

I dint get

One it uses a different thing from what exists in the global config, it should just take that.

I dint get

One it uses a different thing from what exists in the global config, it should just take that.

The config passed to ReactRough should not in any way be related to the one passed individually

Merging as I'd update it on my end. Thanks a lot!

Okay . I tried some stuff but didn't work 😄

Hahaha. I had to kinda do a rewrite to make it work 😅

😄

authors: ashinzekene ooade

repo: ooade/react-rough


text:
Obj gen and enums

Couple changes to the object defs to make the object gen and enum support work.  Found out the hard way the ISO spec for geographic data sets has field names that don't translate to valid python identifiers.  Updated the sample yaml to reflect the new enum format.

This pull request is OK. Can you delete the geographicdataset.yml completely?
Also this pull should probably only be done when the new code is in place for generate_interfaces. Otherwise wouldn't it break for everyone. Please go ahead and merge it in when ready

This pull request was for comment only.  I'm closing it out because it is now superseded by other changes.

authors: mmeisinger thomaslennan

repo: ooici/ion-definitions


text:
Update AMT configuration if a profile has been updated

Describe the bug 🪲
As a user, I want a way to run a maintenance task that will check if the profile that AMT was configured with has been updated and if so, update AMT with the new configuration settings.  This check could be run frequently (weekly, daily, or hourly).
RPS would need to track a version of the profile
When RPS adds the device to MPS, it would need to have the profile name and version associated with the AMT device
When the maintenance task is run, RPS would check the device information in MPS and compare that with the current profile version.  If the profile has been updated, then it would apply the updated configuration to AMT (doesn't not include activation changes - ACM/CCM)

Confirmed with the customer, this feature ask is no longer needed due to the enabling of RPC local configuration flows

repo: open-amt-cloud-toolkit/rps


text:
Add django-simple-history tracking to FacilityMatch

Overview
To support deleting facilities and fixing matching mistakes we want to track
edits and deletions of FacilityMatch records.
Connects #604
Demo

Testing Instructions
This assumes you have fixture data loaded and processed

Setup and run

./scripts/setup
./scripts/manage populate_history --auto
./scripts/server

Browse http://localhost:8081/admin/api/facilitymatch/914/history/ and verify that the django-simple-history view is displayed.

Checklist

[x] fixup! commits have been squashed
[x] CI passes after rebase
[x] ~CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines~ Skipped because this is an internal change.

Thanks for the review.


text:
Factor out different types of functions in slurper class

The slurper class is now doing three different things

Figuring out an optimal refresh rate
Initializing the DB
Fetching data
Processing data
Inserting data into the database.

3, 4, 5 probably belong together.
2 should probably be done in clear_streets.py
1 Should be done in a separate class, that providea a poll method.

I'll take  (1) on.

repo: open-city/clearstreets-processing


text:
Add spec fields in clusterManager

Signed-off-by: xuezhaojun zxue@redhat.com

This one is related with https://github.com/open-cluster-management-io/registration-operator/issues/157#event-5531255134.
And a draft of design is https://app.excalidraw.com/l/6YsJahWEKqP/1NHDlFr6CED
Not run "make update" yet, because it's still in process.
cc @zhujian7
assign @qiujian16

/hold
It's weird that run make update would affect a lot of files and failed the test. Working on this currently.

/unhold

/assign @zhiweiyin318
I still have some concern on the document, but need @zhiweiyin318 to take another look.

/lgtm
/unhold

repo: open-cluster-management-io/api


text:
Change default value of deleteOption

Signed-off-by: Jian Qiu jqiu@redhat.com

/lgtm


text:
🌱 Move hub side csr code to csr driver

Summary
Related issue(s)
Fixes #

@qiujian16 the integration test failed, please take a look.

/lgtm

repo: open-cluster-management-io/ocm


text:
add addonplacementscores permission for placement controller

Ref: open-cluster-management-io/community#52 https://github.com/open-cluster-management/backlog/issues/18210
Signed-off-by: haoqing0110 qhao@redhat.com

/assign @zhiweiyin318 @elgnay

/cc @ldpliu

/lgtm

/approve


text:
:seedling: set work meta data to ManifestBundle event on source

Summary
Related issue(s)
Fixes #

/assign @qiujian16

repo: open-cluster-management-io/sdk-go


text:
Update check-copyright

Signed-off-by: Dominique Vernier dvernier@redhat.com

/lgtm

authors: itdove leena-jawale


text:
Seed userid

Currently we do not have a way to pass userID and userGroup from a parent subscription to its children.
This enables that capability for all subscription types. Regardless of whether they are admin or not, so we know where they came from.

/retest

This will be obsoleted by @philipwu08 work.

authors: jnpacker mikeshng


text:
app/ReplicaSet is valid group kind

Signed-off-by: Roke Jung roke@redhat.com
https://github.com/open-cluster-management/backlog/issues/12150
It is recommended to use Deployment instead of app/ReplicaSet but ReplicaSet is still a valid kind. We should not exclude it.

/lgtm

authors: mikeshng rokej


text:
fix subscription admin RBAC creation

Signed-off-by: Roke Jung roke@redhat.com
https://github.com/open-cluster-management/backlog/issues/16957
The RBAC creation was initially in the reconcile function but moved to a watcher start method and multiple re-tries to ensure the RBAC resources are created as soon as the pod starts.

/lgtm

authors: rokej xiangjingli


text:
add e2e to prow

Signed-off-by: Sherin Varughese shvarugh@redhat.com

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

Covered in https://github.com/open-cluster-management/search-operator/pull/88

authors: SherinV xrajesh

repo: open-cluster-management/search-operator


text:
Remove sources from schema and consolidate its URL field into caseReference

Sorry it's so huge :\ I tried to break commits up somewhat logically
Note: I made caseReference required, as well as caseReference.sourceUrl

 Schema: Consolidate sources and CaseReference fields

repo: open-covid-data/healthmap-gdo-temp


text:
Register sgyt.is-cool.dev

Added sgyt.is-cool.dev using the CLI.

CLA Assistant Lite bot: 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 can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

repo: open-domains/register


text:
[multi-platform] cross compile falcon-agent for non-X86 platform

Proposal
Met falcon-agent cross compile fail at modules/agent/funcs/gpu.go
$ GOOS=linux GOARCH=arm64 go build -o bin/agent/falcon-agent ./modules/agent
modules/agent/funcs/gpu.go:20:2: build constraints exclude all Go files in /Users/momouxin/Dev/go_project/src/github.com/open-falcon/falcon-plus/vendor/github.com/mindprince/gonvml

Consider about agent/funcs/gpu.go is only significant for Nvidia GPU on X86 platform, the gnu.go should be only build -tag on x86 platform.
Solution

Add build tag // +build 386 amd64 at agent/funcs/gpu.go
Withdraw GpuMetrics from BuildMappers() of agent/funcs/funcs.go, move to follow with agent/funcs/gpu.go together.
Double agent/funcs/funcs.go to agent/funcs/funcs_x86.go, // +build !386,!amd64 for funcs.go, and // +build 386 amd64 for funcs_x86.go

Effection

$ go build -o bin/agent/falcon-agent ./modules/agent; echo $?
0

$ GOOS=linux GOARCH=arm64 go build -o bin/agent/falcon-agent ./modules/agent && file bin/agent/falcon-agent
bin/agent/falcon-agent: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped

$ GOOS=linux GOARCH=s390x go build -o bin/agent/falcon-agent ./modules/agent && file bin/agent/falcon-agent
bin/agent/falcon-agent: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, not stripped

Signed-off-by: gdmmx gdmmx@163.com

Close & re-PR

repo: open-falcon/falcon-plus


text:
FlagType enum definition causes problems with mypy

Running mypy on the sdk codebase I found several errors. One of them stood out:
open_feature/open_feature_client.py:202: error: Argument 1 to "evaluate_flag_details" of "OpenFeatureClient" has incompatible type "<typing special form>"; expected "FlagType"  [arg-type]

This corresponds to the following call:
https://github.com/open-feature/python-sdk/blob/d31b531ae8e4c9e52ac723a3574e85928479bb1a/open_feature/open_feature_client.py#L204-L210
It appears that mypy has problems recognizing the value of FlagType.OBJECT as a member of FlagType.
class FlagType(Enum):
    BOOLEAN = bool
    STRING = str
    OBJECT = typing.Union[dict, list]
    FLOAT = float
    INTEGER = int

As we can see, OBJECT is the only value that is not a standard type class.
Using types as enum values like this is not very common and has the potential to cause issues with other tools too. Moving to standard str or int enum values may avoid such problems. If there is consensus in this I can open a pull request with the necessary changes.

I believe we need to support both dict and list, for objects, especially after this change. Isn't that was this Union conveys?
If there's a typesafe way to do that besides the Union, that seems fine. I'm not sure I understand what solution you're proposing. :sweat_smile:

What I am proposing is to decouple the FlagType enum values from the types they are supposed to check, and just have standard strings for the enum.
The FlagType could be defined as:
class FlagType(Enum):
    BOOLEAN = 'BOOLEAN'
    STRING = 'STRING'
    OBJECT = 'OBJECT'
    FLOAT = 'FLOAT'
    INTEGER = 'INTEGER'

And the isinstance(resolution.value, flag_type.value) check would be replaced with a call to a function like this:
def typecheck_flag_value(value, flag_type):
    type_map = {
        FlagType.BOOLEAN: bool,
        FlagType.STRING: str,
        FlagType.OBJECT: typing.Union[dict, list],
        FlagType.FLOAT: float,
        FlagType.INTEGER: int,
    }
    _type = type_map.get(flag_type)
    if not _type:
        raise GeneralError(error_message="Unknown flag type")
    if not isinstance(value, _type):
        raise TypeMismatchError(f"Expected type {_type} but got {type(value)}")

@federicobond  thank you. I think I understand your proposal and I do not have any objection on this. However, I would really like opinion of Python experts :)

I opened a pull request with my proposed change so we can have a more concrete artifact to comment/discuss on.

Closed with https://github.com/open-feature/python-sdk/pull/137

authors: Kavindu-Dodan federicobond toddbaert

repo: open-feature/python-sdk


text:
Add initial info for AWS Certificate Manager

I have plans to add more info about AWS Certificate Manager later.

Thank you for your submission, @artemnikitin - looking forward to seeing the AWS Certificate Manager getting more coverage!
Editors note: there is no topic editor for AWS Certificate Manager (yet), so I've taken a look.
LGTM - bouncing to @jlevy for a final pass.

LGTM as well. Thanks!

One thing we should expand going forward is clarifying when Certificate Manager is useful. You can't use it to get SSL certs if you're not using an AWS service to terminate the SSL, correct?  That's important for to clarify when this is expanded.

You can't use it to get SSL certs if you're not using an AWS service to terminate the SSL, correct?

Correct. I'm planning to add it to section with basic info, tips and gotchas.

Great, thanks @artemnikitin - I'm looking forward to seeing it!

authors: ThanosBaskous artemnikitin jlevy

repo: open-guides/og-aws


text:
Feature Request : Polish Ingestion UI

For this release, we are targeting two things

All ingestion connector form should display relevant docs
Make test connection flow more intuitive by providing message feedback ( like what metadata can be extracted, what cannot be extracted, etc.)

Test Connection Flow

You can get the steps' names and descriptions of each step by calling http://localhost:8585/api/v1/services/testConnectionDefinition/name/{name}.
The name parameter will be the name of the source CONNECTION (not the service name). E.g., a MySQL connection will be mysql, and a Tableau one, tableau.
To trigger a test connection, you'll need to:

Create a workflow with POST/PUT /v1/automations/workflow/ passing the payload of createWorkflow.
This create workflow request will be the current TestServiceConnectionRequest.
This will return you a Workflow. In the response, the Ingestion Framework will keep sending the updated test connection results.
Now, you won't get all the data in a batch. You'll need to keep polling by Workflow ID until the workflow status is either Successful or Pending.
When the workflow is finished, you are good to stop.

Marking this as blocked, we have some pending work on the ingestion side cc @ulixius9

We should be good to go. To the /v1/automations/workflow/ endpoint you can send a payload like:
{
  "name": "test-connection-mysql",
  "description": "description",
  "workflowType": "TEST_CONNECTION",
  "request": {
    "connection": {
      "config": {
        "type": "Mysql",
        "scheme": "mysql+pymysql",
        "username": "openmetadata_user",
        "password": "**********",
        "hostPort": "localhost:3306"
      }
    },
    "serviceType": "Database",
    "connectionType": "Mysql",
    "serviceName": null,
    "secretsManagerProvider": "noop"
  }
}

Then, keep fetching the workflow by name until you got it finished

authors: Sachin-chaurasiya pmbrull

repo: open-metadata/OpenMetadata


text:
Elasticsearch.py throws an error

Traceback (most recent call last):
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/bin/metadata", line 8, in
sys.exit(metadata())
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/metadata/cmd.py", line 76, in ingest
workflow.execute()
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/metadata/ingestion/api/workflow.py", line 163, in execute
self.sink.write_record(processed_record)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/metadata/ingestion/sink/elasticsearch.py", line 181, in write_record
table_doc = self._create_table_es_doc(record)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/metadata/ingestion/sink/elasticsearch.py", line 230, in _create_table_es_doc
timestamp = epoch_ms(table.updatedAt.root)
File "/Users/akashjain/Documents/github/open-metadata/OpenMetadata/venv/lib/python3.9/site-packages/metadata/ingestion/sink/elasticsearch.py", line 59, in epoch_ms
return int(dt.timestamp() * 1000)

Fixed in #2278


text:
Remove suggest operations from access control policies

Feature
#4199
Describe the task
A clear and concise description of what the bug is.
Suggesting descriptions, tags, etc. improves collaboration and crowdsourcing of information. These are not direct operations on the entity but conversation thread/task related to an entity. Given this, suggest operations are allowed and no support will be added to restrict these operations based on access control policies

This is no longer required


text:
AI实战营第三次作业提交 07班

作业提交说明（提交截止时间2月13日晚23:59前）
基础作业
作业三说明点这里
同学们需要将以下内容上传至自己的 Github 中，上传完成后，将作业仓库链接提交至本页面下方。

训练模型的配置文件
训练好的模型文件
其他作业相关的文件（log文件等）
文件过大可以放在网盘，将网盘链接放在github的readme中

提交命名：姓名+基础作业
注意：完成基础作业的同学可以获得积分激励，积分积累越高能够获得的权益越多！积分规则点击这里查看!

完成3次作业，可额外增加 30 分
小组内同学都完成了3次作业即可得到额外的 30 分
在社交媒体发布学习心得文章（300字以上，内容经班长审核）20 分/次

进阶作业
我们鼓励同学们使用mmsegmentation完成自己的项目，为此我们提供以下数据集给同学们使用，也欢迎同学们使用自己的数据集基于mmsegmentation做项目。完成3次进阶作业的同学可以获得额外积分激励。
👁语义分割数据集：
https://opendatalab.org.cn/PASCAL_VOC2007
https://opendatalab.org.cn/PASCAL_VOC2012
提交命名：姓名+进阶作业
注意：完成进阶作业的同学可以获得积分激励，积分积累越高能够获得的权益越多！积分规则点击这里查看!

产出优质项目（经评定）30 分/次
产出优质原创项目（经评定）50 分/次
完成6次作业，可再额外增加 50 分
小组内同学都完成了3次进阶作业即可得到额外的 50 分
在社交媒体发布学习心得文章（300字以上，内容经班长审核）20 分/次

大家记得提交打卡笔记哦！

残雪vs飘零 + 基础作业 + 进阶作业 https://github.com/qianlian-mozi/wrok3_mmseg

李伟+基础作业+进阶作业: https://github.com/liweiwp/OpenMMLabCamp

albertbobby+基础作业：https://github.com/Bobby645/OpenMMLabCamp

丁一超+基础作业：https://github.com/JeffDing/mmlabcamp/tree/main/homework3

金宪伟+基础作业：https://github.com/jinxianwei/homework/blob/master/ReadMe.md

mhxiong+基础作业+进阶作业：https://github.com/hmxiong/OpenMMLabCamp/tree/main/work3

TKAN + 基础作业：https://github.com/xuan07472/OpenMMLabCamp/tree/aiacc

The Charge 基础+进阶作业：https://github.com/Guo-lf/OpenMMLabCamp-1

杨h+基础作业+进阶作业：https://github.com/yhevolto/openmmlab-mmsegmentation

麦梓超+基础作业：https://github.com/xiaomile/OpenMMLabCamp

脾气不详+基础作业：https://github.com/inhibernation12/OpenMMLabCamp

fighting(石田蕾)+基础作业：https://github.com/tianleiSHI/OpenMMLabCamp

张垚钰+基础作业：https://github.com/willnotapostle/mmsegmentation/tree/main

fighting(石田蕾)+进阶作业：https://github.com/tianleiSHI/OpenMMLabCamp

瓦拉拉+基础作业+进阶作业 https://github.com/Brian417-cup/OpenMMLabCamp/tree/segmentation

authors: Bobby645 Brian417-cup Guo-lf JeffDing hmxiong inhibernation12 jinxianwei liweiwp qianlian-mozi tianleiSHI willnotapostle xiaoliuzz xiaomile xuan07472 yhevolto

repo: open-mmlab/OpenMMLabCamp


text:
Test my PVRCNN in kitti,there is just bev mAP

This is my result:
Car AP@0.70, 0.70, 0.70:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:77.9522, 65.4295, 64.4617
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP_R40@0.70, 0.70, 0.70:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:79.5713, 66.7626, 64.5092
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP@0.70, 0.50, 0.50:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:89.4668, 86.4132, 86.2657
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP_R40@0.70, 0.50, 0.50:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:93.9974, 88.5902, 88.6612
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
This is my config:
CLASS_NAMES: ['Car']
DATA_CONFIG:
BASE_CONFIG: cfgs/dataset_configs/kitti_car_DA.yaml
CLASS_NAMES: ['Car']
FOV_POINTS_ONLY: True
SHIFT_COOR: [0.0, 0.0, 1.8]
MODEL:
NAME: PVRCNNPlusPlus
VFE:
    NAME: MeanVFE

BACKBONE_3D:
    NAME: VoxelBackBone8x

MAP_TO_BEV:
    NAME: HeightCompression
    NUM_BEV_FEATURES: 256

BACKBONE_2D:
    NAME: BaseBEVBackbone

    LAYER_NUMS: [5, 5]
    LAYER_STRIDES: [1, 2]
    NUM_FILTERS: [128, 256]
    UPSAMPLE_STRIDES: [1, 2]
    NUM_UPSAMPLE_FILTERS: [256, 256]

DENSE_HEAD:
    NAME: AnchorHeadSingle
    CLASS_AGNOSTIC: False

    USE_DIRECTION_CLASSIFIER: True
    DIR_OFFSET: 0.78539
    DIR_LIMIT_OFFSET: 0.0
    NUM_DIR_BINS: 2

    ANCHOR_GENERATOR_CONFIG: [
        {
            'class_name': 'car',
            'anchor_sizes': [[4.7, 2.1, 1.7]],
            'anchor_rotations': [0, 1.57],
            'anchor_bottom_heights': [0],
            'align_center': False,
            'feature_map_stride': 8,
            'matched_threshold': 0.55,
            'unmatched_threshold': 0.4
        }
    ]

    TARGET_ASSIGNER_CONFIG:
        NAME: AxisAlignedTargetAssigner
        POS_FRACTION: -1.0
        SAMPLE_SIZE: 512
        NORM_BY_NUM_EXAMPLES: False
        MATCH_HEIGHT: False
        BOX_CODER: ResidualCoder

    LOSS_CONFIG:
        LOSS_WEIGHTS: {
            'cls_weight': 1.0,
            'loc_weight': 2.0,
            'dir_weight': 0.2,
            'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
        }

PFE:
    NAME: VoxelSetAbstraction
    POINT_SOURCE: raw_points
    NUM_KEYPOINTS: 2048
    NUM_OUTPUT_FEATURES: 90
    SAMPLE_METHOD: SPC
    SPC_SAMPLING:
        NUM_SECTORS: 6
        SAMPLE_RADIUS_WITH_ROI: 1.6

    FEATURES_SOURCE: ['bev', 'x_conv3', 'x_conv4', 'raw_points']
    SA_LAYER:
        raw_points:
            NAME: VectorPoolAggregationModuleMSG
            NUM_GROUPS: 2
            LOCAL_AGGREGATION_TYPE: local_interpolation
            NUM_REDUCED_CHANNELS: 1
            NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
            MSG_POST_MLPS: [ 32 ]
            FILTER_NEIGHBOR_WITH_ROI: True
            RADIUS_OF_NEIGHBOR_WITH_ROI: 2.4

            GROUP_CFG_0:
                NUM_LOCAL_VOXEL: [ 2, 2, 2 ]
                MAX_NEIGHBOR_DISTANCE: 0.2
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [ 32, 32 ]
            GROUP_CFG_1:
                NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
                MAX_NEIGHBOR_DISTANCE: 0.4
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [ 32, 32 ]

        x_conv3:
            DOWNSAMPLE_FACTOR: 4
            INPUT_CHANNELS: 64

            NAME: VectorPoolAggregationModuleMSG
            NUM_GROUPS: 2
            LOCAL_AGGREGATION_TYPE: local_interpolation
            NUM_REDUCED_CHANNELS: 32
            NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
            MSG_POST_MLPS: [128]
            FILTER_NEIGHBOR_WITH_ROI: True
            RADIUS_OF_NEIGHBOR_WITH_ROI: 4.0

            GROUP_CFG_0:
                NUM_LOCAL_VOXEL: [3, 3, 3]
                MAX_NEIGHBOR_DISTANCE: 1.2
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [64, 64]
            GROUP_CFG_1:
                NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
                MAX_NEIGHBOR_DISTANCE: 2.4
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [ 64, 64 ]

        x_conv4:
            DOWNSAMPLE_FACTOR: 8
            INPUT_CHANNELS: 64

            NAME: VectorPoolAggregationModuleMSG
            NUM_GROUPS: 2
            LOCAL_AGGREGATION_TYPE: local_interpolation
            NUM_REDUCED_CHANNELS: 32
            NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
            MSG_POST_MLPS: [ 128 ]
            FILTER_NEIGHBOR_WITH_ROI: True
            RADIUS_OF_NEIGHBOR_WITH_ROI: 6.4

            GROUP_CFG_0:
                NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
                MAX_NEIGHBOR_DISTANCE: 2.4
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [ 64, 64 ]
            GROUP_CFG_1:
                NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
                MAX_NEIGHBOR_DISTANCE: 4.8
                NEIGHBOR_NSAMPLE: -1
                POST_MLPS: [ 64, 64 ]

POINT_HEAD:
    NAME: PointHeadSimple
    CLS_FC: [256, 256]
    CLASS_AGNOSTIC: True
    USE_POINT_FEATURES_BEFORE_FUSION: True
    TARGET_CONFIG:
        GT_EXTRA_WIDTH: [0.2, 0.2, 0.2]
    LOSS_CONFIG:
        LOSS_REG: smooth-l1
        LOSS_WEIGHTS: {
            'point_cls_weight': 1.0,
        }

ROI_HEAD:
    NAME: PVRCNNHead
    CLASS_AGNOSTIC: True

    SHARED_FC: [256, 256]
    CLS_FC: [256, 256]
    REG_FC: [256, 256]
    DP_RATIO: 0.3

    NMS_CONFIG:
        TRAIN:
            NMS_TYPE: nms_gpu
            MULTI_CLASSES_NMS: False
            NMS_PRE_MAXSIZE: 9000
            NMS_POST_MAXSIZE: 512
            NMS_THRESH: 0.8
        TEST:
            NMS_TYPE: nms_gpu
            MULTI_CLASSES_NMS: False
            NMS_PRE_MAXSIZE: 1024
            NMS_POST_MAXSIZE: 100
            NMS_THRESH: 0.7
            SCORE_THRESH: 0.1

    ROI_GRID_POOL:
        GRID_SIZE: 6

        NAME: VectorPoolAggregationModuleMSG
        NUM_GROUPS: 2
        LOCAL_AGGREGATION_TYPE: voxel_random_choice
        NUM_REDUCED_CHANNELS: 30
        NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
        MSG_POST_MLPS: [ 128 ]

        GROUP_CFG_0:
            NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
            MAX_NEIGHBOR_DISTANCE: 0.8
            NEIGHBOR_NSAMPLE: 32
            POST_MLPS: [ 64, 64 ]
        GROUP_CFG_1:
            NUM_LOCAL_VOXEL: [ 3, 3, 3 ]
            MAX_NEIGHBOR_DISTANCE: 1.6
            NEIGHBOR_NSAMPLE: 32
            POST_MLPS: [ 64, 64 ]

    TARGET_CONFIG:
        BOX_CODER: ResidualCoder
        ROI_PER_IMAGE: 128
        FG_RATIO: 0.5

        SAMPLE_ROI_BY_EACH_CLASS: True
        CLS_SCORE_TYPE: roi_iou

        CLS_FG_THRESH: 0.75
        CLS_BG_THRESH: 0.25
        CLS_BG_THRESH_LO: 0.1
        HARD_BG_RATIO: 0.8

        REG_FG_THRESH: 0.55

    LOSS_CONFIG:
        CLS_LOSS: BinaryCrossEntropy
        REG_LOSS: smooth-l1
        CORNER_LOSS_REGULARIZATION: True
        LOSS_WEIGHTS: {
            'rcnn_cls_weight': 1.0,
            'rcnn_reg_weight': 1.0,
            'rcnn_corner_weight': 1.0,
            'code_weights': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
        }

POST_PROCESSING:
    RECALL_THRESH_LIST: [0.3, 0.5, 0.7]
    SCORE_THRESH: 0.1
    OUTPUT_RAW_SCORE: False

    EVAL_METRIC: kitti

    NMS_CONFIG:
        MULTI_CLASSES_NMS: False
        NMS_TYPE: nms_gpu
        NMS_THRESH: 0.1
        NMS_PRE_MAXSIZE: 4096
        NMS_POST_MAXSIZE: 500

OPTIMIZATION:
OPTIMIZER: adam_onecycle
LR: 0.01
WEIGHT_DECAY: 0.001
MOMENTUM: 0.9
MOMS: [0.95, 0.85]
PCT_START: 0.4
DIV_FACTOR: 10
DECAY_STEP_LIST: [35, 45]
LR_DECAY: 0.1
LR_CLIP: 0.0000001

LR_WARMUP: False
WARMUP_EPOCH: 1

GRAD_NORM_CLIP: 10

2022-11-01 03:23:22,191   INFO  Start logging
2022-11-01 03:23:22,192   INFO  CUDA_VISIBLE_DEVICES=ALL
2022-11-01 03:23:22,192   INFO  cfg_file         cfgs/kitti_models/DAfaster.yaml
2022-11-01 03:23:22,192   INFO  batch_size       24
2022-11-01 03:23:22,192   INFO  workers          4
2022-11-01 03:23:22,192   INFO  extra_tag        pvrcnn++_intensity_ROS
2022-11-01 03:23:22,192   INFO  ckpt             /opt/data/private/3D-Detection/OpenPCDet/output/nuscenes_models/DAfaster/pvrcnn++_intensity_ROS/ckpt/checkpoint_epoch_30.pth
2022-11-01 03:23:22,192   INFO  pretrained_model None
2022-11-01 03:23:22,192   INFO  launcher         none
2022-11-01 03:23:22,193   INFO  tcp_port         18888
2022-11-01 03:23:22,193   INFO  local_rank       0
2022-11-01 03:23:22,193   INFO  set_cfgs         None
2022-11-01 03:23:22,193   INFO  max_waiting_mins 30
2022-11-01 03:23:22,193   INFO  start_epoch      0
2022-11-01 03:23:22,193   INFO  eval_tag         default
2022-11-01 03:23:22,193   INFO  eval_all         False
2022-11-01 03:23:22,193   INFO  ckpt_dir         None
2022-11-01 03:23:22,193   INFO  save_to_file     False
2022-11-01 03:23:22,193   INFO  infer_time       False
2022-11-01 03:23:22,194   INFO  cfg.ROOT_DIR: /opt/data/private/3D-Detection/OpenPCDet
2022-11-01 03:23:22,194   INFO  cfg.LOCAL_RANK: 0
2022-11-01 03:23:22,194   INFO  cfg.CLASS_NAMES: ['Car']
2022-11-01 03:23:22,194   INFO
cfg.DATA_CONFIG = edict()
2022-11-01 03:23:22,194   INFO  cfg.DATA_CONFIG.DATASET: KittiDataset
2022-11-01 03:23:22,194   INFO  cfg.DATA_CONFIG.DATA_PATH: ../data/kitti
2022-11-01 03:23:22,194   INFO  cfg.DATA_CONFIG.POINT_CLOUD_RANGE: [-75.2, -75.2, -2, 75.2, 75.2, 4]
2022-11-01 03:23:22,194   INFO
cfg.DATA_CONFIG.DATA_SPLIT = edict()
2022-11-01 03:23:22,194   INFO  cfg.DATA_CONFIG.DATA_SPLIT.train: train
2022-11-01 03:23:22,194   INFO  cfg.DATA_CONFIG.DATA_SPLIT.test: val
2022-11-01 03:23:22,195   INFO
cfg.DATA_CONFIG.INFO_PATH = edict()
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.INFO_PATH.train: ['kitti_infos_train.pkl']
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.INFO_PATH.test: ['kitti_infos_val.pkl']
2022-11-01 03:23:22,195   INFO
cfg.DATA_CONFIG.DATA_AUGMENTOR = edict()
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.DATA_AUGMENTOR.DISABLE_AUG_LIST: ['random_object_scaling', 'random_object_rotation']
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.DATA_AUGMENTOR.AUG_CONFIG_LIST: [{'NAME': 'random_object_scaling', 'SCALE_UNIFORM_NOISE': [0.9, 1.1]}, {'NAME': 'random_object_rotation', 'ROT_PROB': 1.0, 'ROT_UNIFORM_NOISE': [-0.78539816, 0.78539816]}, {'NAME': 'random_world_flip', 'ALONG_AXIS_LIST': ['x', 'y']}, {'NAME': 'random_world_rotation', 'WORLD_ROT_ANGLE': [-0.78539816, 0.78539816]}, {'NAME': 'random_world_scaling', 'WORLD_SCALE_RANGE': [0.95, 1.05]}]
2022-11-01 03:23:22,195   INFO
cfg.DATA_CONFIG.POINT_FEATURE_ENCODING = edict()
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.POINT_FEATURE_ENCODING.encoding_type: absolute_coordinates_encoding
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.POINT_FEATURE_ENCODING.used_feature_list: ['x', 'y', 'z', 'intensity']
2022-11-01 03:23:22,195   INFO  cfg.DATA_CONFIG.POINT_FEATURE_ENCODING.src_feature_list: ['x', 'y', 'z', 'intensity']
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.DATA_PROCESSOR: [{'NAME': 'mask_points_and_boxes_outside_range', 'REMOVE_OUTSIDE_BOXES': True}, {'NAME': 'shuffle_points', 'SHUFFLE_ENABLED': {'train': True, 'test': False}}, {'NAME': 'transform_points_to_voxels', 'VOXEL_SIZE': [0.1, 0.1, 0.15], 'MAX_POINTS_PER_VOXEL': 5, 'MAX_NUMBER_OF_VOXELS': {'train': 80000, 'test': 90000}}]
2022-11-01 03:23:22,196   INFO
cfg.DATA_CONFIG.TEST = edict()
2022-11-01 03:23:22,196   INFO
cfg.DATA_CONFIG.TEST.BOX_FILTER = edict()
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.TEST.BOX_FILTER.USE_IMAGE_AREA_FILTER: True
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.TEST.BOX_FILTER.FOV_FILTER: True
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.TEST.BOX_FILTER.LIMIT_RANGE: [-75.2, -75.2, -2, 75.2, 75.2, 4]
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.BASE_CONFIG: cfgs/dataset_configs/kitti_car_DA.yaml
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.CLASS_NAMES: ['Car']
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.FOV_POINTS_ONLY: True
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.SHIFT_COOR: [0.0, 0.0, 1.8]
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.MAX_SWEEPS: 1
2022-11-01 03:23:22,196   INFO  cfg.DATA_CONFIG.PRED_VELOCITY: False
2022-11-01 03:23:22,197   INFO  cfg.DATA_CONFIG.BALANCED_RESAMPLING: False
2022-11-01 03:23:22,197   INFO
cfg.MODEL = edict()
2022-11-01 03:23:22,197   INFO  cfg.MODEL.NAME: PVRCNNPlusPlus
2022-11-01 03:23:22,197   INFO
cfg.MODEL.VFE = edict()
2022-11-01 03:23:22,197   INFO  cfg.MODEL.VFE.NAME: MeanVFE
2022-11-01 03:23:22,197   INFO
cfg.MODEL.BACKBONE_3D = edict()
2022-11-01 03:23:22,197   INFO  cfg.MODEL.BACKBONE_3D.NAME: VoxelBackBone8x
2022-11-01 03:23:22,197   INFO
cfg.MODEL.MAP_TO_BEV = edict()
2022-11-01 03:23:22,197   INFO  cfg.MODEL.MAP_TO_BEV.NAME: HeightCompression
2022-11-01 03:23:22,197   INFO  cfg.MODEL.MAP_TO_BEV.NUM_BEV_FEATURES: 256
2022-11-01 03:23:22,198   INFO
cfg.MODEL.BACKBONE_2D = edict()
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.NAME: BaseBEVBackbone
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.LAYER_NUMS: [5, 5]
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.LAYER_STRIDES: [1, 2]
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.NUM_FILTERS: [128, 256]
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.UPSAMPLE_STRIDES: [1, 2]
2022-11-01 03:23:22,198   INFO  cfg.MODEL.BACKBONE_2D.NUM_UPSAMPLE_FILTERS: [256, 256]
2022-11-01 03:23:22,198   INFO
cfg.MODEL.DENSE_HEAD = edict()
2022-11-01 03:23:22,198   INFO  cfg.MODEL.DENSE_HEAD.NAME: AnchorHeadSingle
2022-11-01 03:23:22,198   INFO  cfg.MODEL.DENSE_HEAD.CLASS_AGNOSTIC: False
2022-11-01 03:23:22,198   INFO  cfg.MODEL.DENSE_HEAD.USE_DIRECTION_CLASSIFIER: True
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.DIR_OFFSET: 0.78539
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.DIR_LIMIT_OFFSET: 0.0
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.NUM_DIR_BINS: 2
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.ANCHOR_GENERATOR_CONFIG: [{'class_name': 'car', 'anchor_sizes': [[4.7, 2.1, 1.7]], 'anchor_rotations': [0, 1.57], 'anchor_bottom_heights': [0], 'align_center': False, 'feature_map_stride': 8, 'matched_threshold': 0.55, 'unmatched_threshold': 0.4}]
2022-11-01 03:23:22,199   INFO
cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG = edict()
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.NAME: AxisAlignedTargetAssigner
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.POS_FRACTION: -1.0
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.SAMPLE_SIZE: 512
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.NORM_BY_NUM_EXAMPLES: False
2022-11-01 03:23:22,199   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.MATCH_HEIGHT: False
2022-11-01 03:23:22,200   INFO  cfg.MODEL.DENSE_HEAD.TARGET_ASSIGNER_CONFIG.BOX_CODER: ResidualCoder
2022-11-01 03:23:22,200   INFO
cfg.MODEL.DENSE_HEAD.LOSS_CONFIG = edict()
2022-11-01 03:23:22,200   INFO
cfg.MODEL.DENSE_HEAD.LOSS_CONFIG.LOSS_WEIGHTS = edict()
2022-11-01 03:23:22,200   INFO  cfg.MODEL.DENSE_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.cls_weight: 1.0
2022-11-01 03:23:22,200   INFO  cfg.MODEL.DENSE_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.loc_weight: 2.0
2022-11-01 03:23:22,200   INFO  cfg.MODEL.DENSE_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.dir_weight: 0.2
2022-11-01 03:23:22,200   INFO  cfg.MODEL.DENSE_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.code_weights: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
2022-11-01 03:23:22,200   INFO
cfg.MODEL.PFE = edict()
2022-11-01 03:23:22,200   INFO  cfg.MODEL.PFE.NAME: VoxelSetAbstraction
2022-11-01 03:23:22,200   INFO  cfg.MODEL.PFE.POINT_SOURCE: raw_points
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.NUM_KEYPOINTS: 2048
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.NUM_OUTPUT_FEATURES: 90
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.SAMPLE_METHOD: SPC
2022-11-01 03:23:22,201   INFO
cfg.MODEL.PFE.SPC_SAMPLING = edict()
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.SPC_SAMPLING.NUM_SECTORS: 6
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.SPC_SAMPLING.SAMPLE_RADIUS_WITH_ROI: 1.6
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.FEATURES_SOURCE: ['bev', 'x_conv3', 'x_conv4', 'raw_points']
2022-11-01 03:23:22,201   INFO
cfg.MODEL.PFE.SA_LAYER = edict()
2022-11-01 03:23:22,201   INFO
cfg.MODEL.PFE.SA_LAYER.raw_points = edict()
2022-11-01 03:23:22,201   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.NAME: VectorPoolAggregationModuleMSG
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.NUM_GROUPS: 2
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.LOCAL_AGGREGATION_TYPE: local_interpolation
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.NUM_REDUCED_CHANNELS: 1
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.MSG_POST_MLPS: [32]
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.FILTER_NEIGHBOR_WITH_ROI: True
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.RADIUS_OF_NEIGHBOR_WITH_ROI: 2.4
2022-11-01 03:23:22,202   INFO
cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_0 = edict()
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_0.NUM_LOCAL_VOXEL: [2, 2, 2]
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_0.MAX_NEIGHBOR_DISTANCE: 0.2
2022-11-01 03:23:22,202   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_0.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_0.POST_MLPS: [32, 32]
2022-11-01 03:23:22,203   INFO
cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_1 = edict()
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_1.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_1.MAX_NEIGHBOR_DISTANCE: 0.4
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_1.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.raw_points.GROUP_CFG_1.POST_MLPS: [32, 32]
2022-11-01 03:23:22,203   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv3 = edict()
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.DOWNSAMPLE_FACTOR: 4
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.INPUT_CHANNELS: 64
2022-11-01 03:23:22,203   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.NAME: VectorPoolAggregationModuleMSG
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.NUM_GROUPS: 2
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.LOCAL_AGGREGATION_TYPE: local_interpolation
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.NUM_REDUCED_CHANNELS: 32
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.MSG_POST_MLPS: [128]
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.FILTER_NEIGHBOR_WITH_ROI: True
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.RADIUS_OF_NEIGHBOR_WITH_ROI: 4.0
2022-11-01 03:23:22,204   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_0 = edict()
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_0.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_0.MAX_NEIGHBOR_DISTANCE: 1.2
2022-11-01 03:23:22,204   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_0.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_0.POST_MLPS: [64, 64]
2022-11-01 03:23:22,205   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_1 = edict()
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_1.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_1.MAX_NEIGHBOR_DISTANCE: 2.4
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_1.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv3.GROUP_CFG_1.POST_MLPS: [64, 64]
2022-11-01 03:23:22,205   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv4 = edict()
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.DOWNSAMPLE_FACTOR: 8
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.INPUT_CHANNELS: 64
2022-11-01 03:23:22,205   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.NAME: VectorPoolAggregationModuleMSG
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.NUM_GROUPS: 2
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.LOCAL_AGGREGATION_TYPE: local_interpolation
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.NUM_REDUCED_CHANNELS: 32
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.MSG_POST_MLPS: [128]
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.FILTER_NEIGHBOR_WITH_ROI: True
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.RADIUS_OF_NEIGHBOR_WITH_ROI: 6.4
2022-11-01 03:23:22,206   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_0 = edict()
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_0.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_0.MAX_NEIGHBOR_DISTANCE: 2.4
2022-11-01 03:23:22,206   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_0.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,207   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_0.POST_MLPS: [64, 64]
2022-11-01 03:23:22,207   INFO
cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_1 = edict()
2022-11-01 03:23:22,207   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_1.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,207   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_1.MAX_NEIGHBOR_DISTANCE: 4.8
2022-11-01 03:23:22,207   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_1.NEIGHBOR_NSAMPLE: -1
2022-11-01 03:23:22,207   INFO  cfg.MODEL.PFE.SA_LAYER.x_conv4.GROUP_CFG_1.POST_MLPS: [64, 64]
2022-11-01 03:23:22,207   INFO
cfg.MODEL.POINT_HEAD = edict()
2022-11-01 03:23:22,207   INFO  cfg.MODEL.POINT_HEAD.NAME: PointHeadSimple
2022-11-01 03:23:22,207   INFO  cfg.MODEL.POINT_HEAD.CLS_FC: [256, 256]
2022-11-01 03:23:22,207   INFO  cfg.MODEL.POINT_HEAD.CLASS_AGNOSTIC: True
2022-11-01 03:23:22,208   INFO  cfg.MODEL.POINT_HEAD.USE_POINT_FEATURES_BEFORE_FUSION: True
2022-11-01 03:23:22,208   INFO
cfg.MODEL.POINT_HEAD.TARGET_CONFIG = edict()
2022-11-01 03:23:22,208   INFO  cfg.MODEL.POINT_HEAD.TARGET_CONFIG.GT_EXTRA_WIDTH: [0.2, 0.2, 0.2]
2022-11-01 03:23:22,208   INFO
cfg.MODEL.POINT_HEAD.LOSS_CONFIG = edict()
2022-11-01 03:23:22,208   INFO  cfg.MODEL.POINT_HEAD.LOSS_CONFIG.LOSS_REG: smooth-l1
2022-11-01 03:23:22,208   INFO
cfg.MODEL.POINT_HEAD.LOSS_CONFIG.LOSS_WEIGHTS = edict()
2022-11-01 03:23:22,208   INFO  cfg.MODEL.POINT_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.point_cls_weight: 1.0
2022-11-01 03:23:22,208   INFO
cfg.MODEL.ROI_HEAD = edict()
2022-11-01 03:23:22,208   INFO  cfg.MODEL.ROI_HEAD.NAME: PVRCNNHead
2022-11-01 03:23:22,208   INFO  cfg.MODEL.ROI_HEAD.CLASS_AGNOSTIC: True
2022-11-01 03:23:22,208   INFO  cfg.MODEL.ROI_HEAD.SHARED_FC: [256, 256]
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.CLS_FC: [256, 256]
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.REG_FC: [256, 256]
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.DP_RATIO: 0.3
2022-11-01 03:23:22,209   INFO
cfg.MODEL.ROI_HEAD.NMS_CONFIG = edict()
2022-11-01 03:23:22,209   INFO
cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN = edict()
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN.NMS_TYPE: nms_gpu
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN.MULTI_CLASSES_NMS: False
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN.NMS_PRE_MAXSIZE: 9000
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN.NMS_POST_MAXSIZE: 512
2022-11-01 03:23:22,209   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TRAIN.NMS_THRESH: 0.8
2022-11-01 03:23:22,210   INFO
cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST = edict()
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.NMS_TYPE: nms_gpu
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.MULTI_CLASSES_NMS: False
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.NMS_PRE_MAXSIZE: 1024
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.NMS_POST_MAXSIZE: 100
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.NMS_THRESH: 0.5
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.NMS_CONFIG.TEST.SCORE_THRESH: 0.1
2022-11-01 03:23:22,210   INFO
cfg.MODEL.ROI_HEAD.ROI_GRID_POOL = edict()
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GRID_SIZE: 6
2022-11-01 03:23:22,210   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.NAME: VectorPoolAggregationModuleMSG
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.NUM_GROUPS: 2
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.LOCAL_AGGREGATION_TYPE: voxel_random_choice
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.NUM_REDUCED_CHANNELS: 30
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.NUM_CHANNELS_OF_LOCAL_AGGREGATION: 32
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.MSG_POST_MLPS: [128]
2022-11-01 03:23:22,211   INFO
cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_0 = edict()
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_0.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_0.MAX_NEIGHBOR_DISTANCE: 0.8
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_0.NEIGHBOR_NSAMPLE: 32
2022-11-01 03:23:22,211   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_0.POST_MLPS: [64, 64]
2022-11-01 03:23:22,211   INFO
cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_1 = edict()
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_1.NUM_LOCAL_VOXEL: [3, 3, 3]
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_1.MAX_NEIGHBOR_DISTANCE: 1.6
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_1.NEIGHBOR_NSAMPLE: 32
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.ROI_GRID_POOL.GROUP_CFG_1.POST_MLPS: [64, 64]
2022-11-01 03:23:22,212   INFO
cfg.MODEL.ROI_HEAD.TARGET_CONFIG = edict()
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.BOX_CODER: ResidualCoder
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.ROI_PER_IMAGE: 128
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.FG_RATIO: 0.5
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.SAMPLE_ROI_BY_EACH_CLASS: True
2022-11-01 03:23:22,212   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.CLS_SCORE_TYPE: roi_iou
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.CLS_FG_THRESH: 0.75
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.CLS_BG_THRESH: 0.25
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.CLS_BG_THRESH_LO: 0.1
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.HARD_BG_RATIO: 0.8
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.TARGET_CONFIG.REG_FG_THRESH: 0.55
2022-11-01 03:23:22,213   INFO
cfg.MODEL.ROI_HEAD.LOSS_CONFIG = edict()
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.CLS_LOSS: BinaryCrossEntropy
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.REG_LOSS: smooth-l1
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.CORNER_LOSS_REGULARIZATION: True
2022-11-01 03:23:22,213   INFO
cfg.MODEL.ROI_HEAD.LOSS_CONFIG.LOSS_WEIGHTS = edict()
2022-11-01 03:23:22,213   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.rcnn_cls_weight: 1.0
2022-11-01 03:23:22,214   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.rcnn_reg_weight: 1.0
2022-11-01 03:23:22,214   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.rcnn_corner_weight: 1.0
2022-11-01 03:23:22,214   INFO  cfg.MODEL.ROI_HEAD.LOSS_CONFIG.LOSS_WEIGHTS.code_weights: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
2022-11-01 03:23:22,214   INFO
cfg.MODEL.POST_PROCESSING = edict()
2022-11-01 03:23:22,214   INFO  cfg.MODEL.POST_PROCESSING.RECALL_THRESH_LIST: [0.3, 0.5, 0.7]
2022-11-01 03:23:22,214   INFO  cfg.MODEL.POST_PROCESSING.SCORE_THRESH: 0.1
2022-11-01 03:23:22,214   INFO  cfg.MODEL.POST_PROCESSING.OUTPUT_RAW_SCORE: False
2022-11-01 03:23:22,214   INFO  cfg.MODEL.POST_PROCESSING.EVAL_METRIC: kitti
2022-11-01 03:23:22,214   INFO
cfg.MODEL.POST_PROCESSING.NMS_CONFIG = edict()
2022-11-01 03:23:22,214   INFO  cfg.MODEL.POST_PROCESSING.NMS_CONFIG.MULTI_CLASSES_NMS: False
2022-11-01 03:23:22,215   INFO  cfg.MODEL.POST_PROCESSING.NMS_CONFIG.NMS_TYPE: nms_gpu
2022-11-01 03:23:22,215   INFO  cfg.MODEL.POST_PROCESSING.NMS_CONFIG.NMS_THRESH: 0.1
2022-11-01 03:23:22,215   INFO  cfg.MODEL.POST_PROCESSING.NMS_CONFIG.NMS_PRE_MAXSIZE: 4096
2022-11-01 03:23:22,215   INFO  cfg.MODEL.POST_PROCESSING.NMS_CONFIG.NMS_POST_MAXSIZE: 500
2022-11-01 03:23:22,215   INFO
cfg.OPTIMIZATION = edict()
2022-11-01 03:23:22,215   INFO  cfg.OPTIMIZATION.OPTIMIZER: adam_onecycle
2022-11-01 03:23:22,215   INFO  cfg.OPTIMIZATION.LR: 0.01
2022-11-01 03:23:22,215   INFO  cfg.OPTIMIZATION.WEIGHT_DECAY: 0.001
2022-11-01 03:23:22,215   INFO  cfg.OPTIMIZATION.MOMENTUM: 0.9
2022-11-01 03:23:22,215   INFO  cfg.OPTIMIZATION.MOMS: [0.95, 0.85]
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.PCT_START: 0.4
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.DIV_FACTOR: 10
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.DECAY_STEP_LIST: [35, 45]
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.LR_DECAY: 0.1
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.LR_CLIP: 1e-07
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.LR_WARMUP: False
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.WARMUP_EPOCH: 1
2022-11-01 03:23:22,216   INFO  cfg.OPTIMIZATION.GRAD_NORM_CLIP: 10
2022-11-01 03:23:22,216   INFO  cfg.TAG: DAfaster
2022-11-01 03:23:22,216   INFO  cfg.EXP_GROUP_PATH: kitti_models
2022-11-01 03:23:22,225   INFO  Loading KITTI dataset
2022-11-01 03:23:22,451   INFO  Total samples for KITTI dataset: 3769
2022-11-01 03:23:26,723   INFO  ==> Loading parameters from checkpoint /opt/data/private/3D-Detection/OpenPCDet/output/nuscenes_models/DAfaster/pvrcnn++_intensity_ROS/ckpt/checkpoint_epoch_30.pth to GPU
2022-11-01 03:23:26,841   INFO  ==> Checkpoint trained from version: pcdet+0.6.0+f221374
2022-11-01 03:23:26,883   INFO  ==> Done (loaded 391/391)
2022-11-01 03:23:26,902   INFO  *************** EPOCH 30 EVALUATION *****************
eval:   0%|                                                                                | 0/158 [00:00<?, ?it/s]../pcdet/models/roi_heads/pvrcnn_head.py:161: UserWarning: This overload of nonzero is deprecated:
nonzero()
Consider using one of the following signatures instead:
nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
dense_idx = faked_features.nonzero()  # (N, 3) [x_idx, y_idx, z_idx]
eval: 100%|###########################################################################################################| 158/158 [07:46<00:00,  2.95s/it, recall_0.3=(13781, 13810) / 14385]
2022-11-01 03:31:13,162   INFO  *************** Performance of EPOCH 30 *****************
2022-11-01 03:31:13,202   INFO  Generate label finished(sec_per_example: 0.1237 second).
2022-11-01 03:31:13,203   INFO  recall_roi_0.3: 0.958012
2022-11-01 03:31:13,203   INFO  recall_rcnn_0.3: 0.960028
2022-11-01 03:31:13,203   INFO  recall_roi_0.5: 0.806952
2022-11-01 03:31:13,203   INFO  recall_rcnn_0.5: 0.869308
2022-11-01 03:31:13,203   INFO  recall_roi_0.7: 0.214946
2022-11-01 03:31:13,203   INFO  recall_rcnn_0.7: 0.353285
2022-11-01 03:31:13,210   INFO  Average predicted number of objects(3769 samples): 10.273
/usr/local/lib/python3.6/dist-packages/numba/core/typed_passes.py:327: NumbaPerformanceWarning:
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.
To find out why, try turning on parallel diagnostics, see https://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.
File "../pcdet/datasets/kitti/kitti_object_eval_python/eval.py", line 122:
@numba.jit(nopython=True, parallel=True)
def d3_box_overlap_kernel(boxes, qboxes, rinc, criterion=-1):
^
state.func_ir.loc))
/usr/local/lib/python3.6/dist-packages/numba/core/typed_passes.py:327: NumbaPerformanceWarning:
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.
To find out why, try turning on parallel diagnostics, see https://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.
File "../pcdet/datasets/kitti/kitti_object_eval_python/eval.py", line 122:
@numba.jit(nopython=True, parallel=True)
def d3_box_overlap_kernel(boxes, qboxes, rinc, criterion=-1):
^
state.func_ir.loc))
2022-11-01 03:31:34,528   INFO  Car AP@0.70, 0.70, 0.70:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:77.9522, 65.4295, 64.4617
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP_R40@0.70, 0.70, 0.70:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:79.5713, 66.7626, 64.5092
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP@0.70, 0.50, 0.50:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:89.4668, 86.4132, 86.2657
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00
Car AP_R40@0.70, 0.50, 0.50:
bbox AP:0.0000, 0.0000, 0.0000
bev  AP:93.9974, 88.5902, 88.6612
3d   AP:0.0000, 0.0000, 0.0000
aos  AP:0.00, 0.00, 0.00

hello, can you teach me how to solve this problem

你好，我已经不做这个方向了，凭借记忆，我记得是因为，我在训练时对点云z坐标加上了一定的偏移，而测试时忘记加上同样的偏移，所以bev视角下测试结果是对的，但3DAP就不对了。

repo: open-mmlab/OpenPCDet


text:
How to predict a result of object detection from a dataset only containing pictures?

I trained a model with my own dataset with annotations in COCO format, now I want to use it to predict a result of another dataset without annotations, and save the result as json files. How can I realize it?
I tried test part in mmdetection, whereas it requires annotations.

Search for the format of test annotation in COCO dataset. Just write a simple script to generate test annotation from pictures.

repo: open-mmlab/mmdetection