UnpicklingError: invalid load key, '<'.

when I run the following code
import neuspell
from neuspell import BertsclstmChecker
checker = BertsclstmChecker()
checker.from_pretrained()

with python version 3.9.16 It gives me the following error
[<ipython-input-1-c4695e6e7eee>](https://localhost:8080/#) in <cell line: 5>()
      3 from neuspell import BertsclstmChecker
      4 checker = BertsclstmChecker()
----> 5 checker.from_pretrained()
      6
      7 checker.correct("Oh! I loovee it when it starts to rain, its smells awesomee")

3 frames
[/usr/local/lib/python3.9/site-packages/torch/serialization.py](https://localhost:8080/#) in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
   1031             "functionality.")
   1032
-> 1033     magic_number = pickle_module.load(f, **pickle_load_args)
   1034     if magic_number != MAGIC_NUMBER:
   1035         raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, '<'. ```

This means your weights are not complete and some problem related to it. Try Downloading weights again it will work. i
solved this problem by re-downloading the model at https://drive.google.com/drive/folders/1jgNpYe4TVSF4mMBVtFh4QfB2GovNPdh7

Okay I figure it out thanks for replying its working


3.0.0-CI00122

The rest of the error will come in other PR?

Is good to me, still having errors in neo-cli, but step by step

What errors?

It doesn't compile to me

OMG, this guy is a master yoda.
No errors, @erikzhang:
Step 43/63 : RUN dotnet publish /opt/neoCli/neo-cli/neo-cli.csproj -o neo-cli -c Release -r ubuntu.16.04-x64
 ---> Running in 451cc52612e9
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Services/ConsoleServiceBase.cs(302,34): warning CS0168: The variable 'ex' is declared but never used [/opt/neoCli/neo-cli/neo-cli.csproj]
  neo-cli -> /opt/neoCli/neo-cli/bin/Release/netcoreapp2.1/ubuntu.16.04-x64/neo-cli.dll
  neo-cli -> /opt/neoCli/neo-cli/neo-cli/
Removing intermediate container 451cc52612e9
 ---> b273a309f635

Compiled with these commits:
NEO_CLI_BLOCKCHAIN_URL=https://github.com/neo-project/neo-cli.git
NEO_CLI_BRANCH=3.0/neo-122
NEO_CLI_COMMIT=d19206bc743c71fdc81644bf7f88143fab744fa3
NEO_BLOCKCHAIN_URL=https://github.com/neo-project/neo.git
NEO_BLOCKCHAIN_BRANCH=master
NEO_BLOCKCHAIN_COMMIT=a9f46bc7d351933e7d8666665c49f850ed5d8e24
NEO_PLUGINS_URL=https://github.com/neo-project/neo-plugins.git
NEO_PLUGINS_BRANCH=master
NEO_PLUGINS_COMMIT=3774004b6a4bb45034458fd90698079640f6079e

LOCAL_NEO_CLI_BLOCKCHAIN="false"
LOCAL_NEO_CLI_BLOCKCHAIN_URL="localfiles/neo-cli"
LOCAL_NEO_BLOCKCHAIN="false"
LOCAL_NEO_BLOCKCHAIN_URL="localfiles/neo"
LOCAL_NEO_PLUGINS="false"
LOCAL_NEO_PLUGINS_URL="localfiles/neo-plugins"

SET_NEO_VM="true"
NEO_VM_URL=https://github.com/neo-project/neo-vm.git
NEO_VM_BRANCH=master
NEO_VM_COMMIT=332db08ada15916e69451fc9a23075574ac511a1

LOCAL_NEO_VM="false"
LOCAL_NEO_VM_URL="localfiles/neo-vm"

PLUGINS_LIST="
ApplicationLogs
CoreMetrics
ImportBlocks
RpcNep5Tracker
RpcSecurity
RpcWallet
SimplePolicy
StatesDumper
"

Travis have errors too

I have no compilation errors here.

Now i haven't got compilation errors .... but the unit test still with errors

Start consensus failed!

Hi @superboyiii, you are ahead of us! ahueahuea
That is great that you are already testing.
Let's check it out. We need to double check the logic for simple policy and all initialization, the plugin might be not needed anymore.

There is no problem starting the consensus here. Have you modified the protocol.json and emptied the old Chain directory? @superboyiii

Fixed

Cool! Works well now. Good fix!

Cool! Works well now. Good fix!

"IsLowPriority"  need to be removed in SimplePolicy since Transcation.get_IsLowPrioriy() has been removed.

neo-plugins#109

@superboyiii, you are right.
I think that maybe it is better to abolish the simplepolicy, I am not sure yet.
https://github.com/neo-project/neo/issues/963

A conflict comes out in Neo3.0.0-CI00130 if an external node makes transaction via a wallet which is opened by consensus node at the same time.
(neo#970)[https://github.com/neo-project/neo/issues/970#issue-474952213]


Backport subselect fix to 1.1

@mfussenegger Almost the same... (some guava -> jdk stuff is not backported), is that ok?

@matriv yep

Codecov Report

Merging #5433 into 1.1 will increase coverage by 0.05%.
The diff coverage is 87.32%.

@@             Coverage Diff              @@
##                1.1    #5433      +/-   ##
============================================
+ Coverage     82.48%   82.53%   +0.05%
- Complexity    11029    11035       +6
============================================
  Files          1332     1333       +1
  Lines         45105    45120      +15
  Branches       5676     5680       +4
============================================
+ Hits          37203    37241      +38
+ Misses         5261     5241      -20
+ Partials       2641     2638       -3

Impacted Files
Coverage Δ
Complexity Δ

...a/io/crate/analyze/relations/RelationAnalyzer.java
94.54% <100%> (+0.05%)
65 <0> (ø)
:arrow_down:

...io/crate/analyze/relations/RelationNormalizer.java
100% <100%> (+10.66%)
3 <3> (-31)
:arrow_down:

...l/src/main/java/io/crate/analyze/symbol/Field.java
70.27% <50%> (+0.82%)
16 <2> (+1)
:arrow_up:

.../io/crate/analyze/relations/SubselectRewriter.java
86.29% <86.29%> (ø)
36 <36> (?)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...va/io/crate/analyze/relations/RelationPrinter.java
75% <0%> (-12.5%)
5% <0%> (-1%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
75% <0%> (-10%)
2% <0%> (ø)

...n/java/io/crate/analyze/QueriedSelectRelation.java
78.26% <0%> (-8.7%)
9% <0%> (-1%)

...io/crate/protocols/postgres/types/VarCharType.java
91.66% <0%> (-8.34%)
10% <0%> (-1%)

...crate/analyze/relations/AbstractTableRelation.java
85.89% <0%> (-3.85%)
30% <0%> (-2%)

... and 21 more

Continue to review full report at Codecov.

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


Integration tutorial updated

Updated the  integration tutorial.

@microsoft-github-policy-service agree company="Othership"

@Khashrul  - Thank you for your contribution. It looks like the system didn't recognize your initial CLA signature. Would you take a moment to sign the Contributor License Agreement (CLA) again? After the CLA is accepted, someone can review your pull request. Thanks!

@Khashrul - Thank you for your contribution. It looks like the system didn't recognize your initial CLA signature. Would you take a moment to sign the Contributor License Agreement (CLA) again? After the CLA is accepted, someone can review your pull request. Thanks!

Can you please help me how i sign the Contributor License Agreement (CLA) ?

Can you please help me how i sign the Contributor License Agreement (CLA) ?

@Khashrul - The signature was successful. Thanks!

@jeevansd
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

we're creating a separate PR for the changes in our private repo, you may expect the updated doc within 2-3 working days.
#please-close


Cactbot not showing in OverlayPluggin.dll

So I haven't played FFXIV in  a week or two and I updated Cactbot and it doesn'T work anymore. Checking in ACT it's not listed in OverlayPluggin.dll anymore I have 2 Mini Parse, 1 Spell Timer but Cactbot is not there anymore.
Can someone help ?

So I managed to bring it back but it still doesn't work. Here's what my OverlayPlugin.dll looks like:
https://imgur.com/a/9tlf5U2

Hmm.  Out of curiosity, can you show me your list of plugins? Is it possible to put the ffxiv plugin before the cactbot plugin in the list and retest?
cactbot should still work, however.  What do you mean by "it doesn't work"?

I meant the bars and alert were not triggerring on the test dummy or in sigmascape but I figured out my issue. For some reason in Cactbot the url was empty (the one we need to put raidboss.html in) I'm not sure what happened when I upgrade to the latest version probably a fluke or a user error on my part but it's now resolved.


[Extensibility] Codeunit 12 - Gen. Jnl.-Post Line - PostBankAcc method

Hi there,
Please can I ask you to change the GenJnlLine parameter to be sent by reference to the PostBankAcc method as shown below:
Before
local procedure PostBankAcc(GenJnlLine: Record "Gen. Journal Line"; Balancing: Boolean)
After
local procedure PostBankAcc(var GenJnlLine: Record "Gen. Journal Line"; Balancing: Boolean)
Thanks,
Wiechardt

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Feature Request: Network Transmitter MAX energy use.

Currently, if you place a receiver in another dimension you get hit with a 1000 RF/t maintenance. This is reasonable and can easily be achieved. The issue I ran into was with a receiver ~10,000 blocks away from my base in the overworld. The power cost was astronomical. Having some sort of cap on cost as a config option would be nice. Having a default cap of say 5000 RF/t is really high but still achievable. Or no cap at all like the current config.
OR
Some way to increase efficiency / reduce the cost of having a transmitter at range. Maybe using the existing range upgrades in a different way in the network transmitter.

The beta's have already a power cap of 1000 RS/t

Ha, I submit this and then looked at closed issues. Thanks for the wonderful mod.


API to interact with guest OS Filesystem

There is library BrowserFS that allow to use Node.js fs module in browser, you can build real file system using its functions.
It would be cool if v86 would support this FS instead of flat json and URLs file that allow to one way communication. With BrowserFS you can create FileSystem were you can share the files with host and guest and would work both ways.

For the current API you only need single function that is called in JS. that refresh the FS from ouside. Right now you need to unmount modify the FS and mount it again. Also change in FS from Linux is not reflected in BrowserFS because the API is read only.

To not break the API I would add events createDirectory/deleteDirectory/createFile/deleteFile/writeFile with this you can write layer on top to write to BrowserFS so you can have communication from guest to host.

Well actually, BrowserFS may not be needed. Chrome/HTML5 is bringing support for a native file API system.

@xeu100 I would prefer to have an API that will allow to build something like this with any FS, to actually interact with the system, I would not like to rely on something that is only in Chrome.
Right no you can't do any data passing, except poorly documented read only URL based file system that can change from outside while the system is running.

@xeu100 I would prefer to have an API that will allow to build something like this with any FS, to actually interact with the system, I would not like to rely on something that is only in Chrome.
Right no you can't do any data passing, except poorly documented read only URL based file system that can't change from outside while the system is running.

Actually it's being implemented on other browsers such as Firefox as well, with the same standards. The native file system API is read and write without a weird download system, it's about to become available in Chrome m86 and then newer versions of modern browsers. It's much more efficient than having a nodejs server be required.

BrowserFS have bigger support if the library had the proper API you should be able to use any browser API you want. You don't need to use node.js with BrowserFS unless you mean current implementation.

It's being implemented to all modern browsers as a standard. The maintainers should use standards over 3rd party tools.

I don't want integration with 3rd party tool I want API build in, so I can use it to use whatever API I want, If API exist you can use file system API that will not work in every browser unless you wait few years and I can use whatever I want. Right now you can interact with the guest OS. I prefer something that will work in every browser.

I think this request is reasonable. I'm probably not going to work on it, but pull requests are welcome.

my team is maintaining a version of Filer meant to be interacted with Filer, which is pretty similar to browserFS (simulate node fs in browser)
you should be able to make it use browserFS with minimal modifications
https://github.com/MercuryWorkshop/v86

@ProgrammerIn-wonderland thanks I actually don't need BrowserFS only a way to interact with guest OS.


The strategy of transferring ImageNet-21k ViT model to cifar100

Hi @mrT23, thanks for your great work! Currently I use timm train.py to finetune the 'vit_base_patch16_224_miil_in21k' model on cifar100, however I can't get the reported result 94.2%.
Here is my running script.
python -m torch.distributed.launch --nproc_per_node=8 --master_port 6016 train.py \
/data/cifar-100-images/ \
-b=64 \
--img-size=224 \
--epochs=50 \
--color-jitter=0 \
--amp \
--lr=2e-4 \
--sched='cosine' \
--model-ema --model-ema-decay=0.995 --reprob=0.5 --smoothing=0.1 \
--min-lr=1e-8 --warmup-epochs=3 --train-interpolation=bilinear --aa=v0 \
--model=vit_base_patch16_224_miil_in21k \
--pretrained \
--num-classes=100 \
--opt=adamw --weight-decay=1e-4 \
--checkpoint-hist=1

I try several settings:
adam, lr=2e-4, wd=1e-4  92.44%
adamw, lr=2e-4, wd=1e-4  92.90%
sgd, lr=2e-4, wd=1e-4  87.49%
adamw, lr=4e-4, wd=1e-4  92.24%
adamw, lr=2e-4, wd=1e-2  93.08%
Could you give me some suggestions?

93.1% is an extremely high score. be happy.
it is higher than what google reported in their paper, and until 1-2 years ago it would have been SOTA on cifar-100.
i didn't use timm for training, so i don't have an exact recipie for timm. anyway, i used
--batch_size=128 --optimizer=sgd --learning_rate=1e-2 --wd=1e-4
it should bring you close 94% (hopefully)

Thank you very much! Sorry for the late reply, I have followed your training setting above, i.e., bs=128, sgd, lr=1e-2, wd=1e-4, with some other settings: the same data augmentation as semantic_softmax pretrain, one-cycle policy, label_smooth=0.1, epochs=40, and I finally get 93.76% top-1 acc.

Hi Dyfine:
Could you tell me the format of cifar-100 folder? Appreciate so much!
Best,
Harold.

Hi~ @yhydhx, below is the detailed format
└───cifar-100-images
    └───train
    |   └───apple
    |       └───apple_s_000027.png
    |       └───...
    |   └───aquarium_fish
    |       └───...
    |   └───...
    └───test
    |   └───apple
    |       └───apple_s_000022.png
    |       └───...
    |   └───aquarium_fish
    |       └───...
    |   └───...

Hi @Dyfine , sorry for the late response. It works!
Thank you very much!


fix: #24 Add comma

Description of the change
Add comma to fix syntax error
Benefits
Renovate will work.
Possible drawbacks
May not fix the issue
Applicable issues

fixes #21
fixes #24

Additional information

Reviewed for 2 addtl errs


Add check for jq on RHEL-like systems to sample_apps.sh

RHEL-like systems do not have jq installed out of the box unlike CoreOS. Add this check to the sample_apps.sh.

Fixed and merged together with Issue 7


support some background prop for the  component

When we have a component witch the color is white, we are not able to see it, because the background of the Playground is white.
So it would be nice if we had a prop in Playground component like , that changes the background.

You can add a style or even a className property for Playground:
<Playground style={{ background: 'red' }}>

what you want

</Playground>

Got it, thanks

I also have this question, passing <Playground style={{ background: 'red' }}> passes the style to the inner components but not the previewer wrapper. Is there a workaround for this?


Staging -> main

Now that branding is nearly complete, merging staging into main for continuity.

Image optimization came back clean!
Vuepress build was successful!


Please add to Maven repository or explain how we can install it locally

Please add to Maven repository or explain how we can install it locally.
I tried to install locally with
mvn install:install-file -Dfile=UndecoratorBis.jar -DgroupId=inside.fx.UndecoratorBis -DartifactId=UndecoratorBis -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
but I still get
Unresolved dependency: 'inside.fx.UndecoratorBis:UndecoratorBis:jar:unknown'

Quite a while ago I made a fork and created an artifact at https://search.maven.org.
https://search.maven.org/artifact/net.raumzeitfalle.fx/undecorator
It actually requires some maintenance (as its actually not tested with JavaFX > 8).
https://github.com/Oliver-Loeffler/UndecoratorBis
May may try this one.


Old snapshots are still available inside pool even though the schedule is for 10 days.

Description
In a setup, for a volume of 1G, replicas are of size 70G.. going further found that, there are local snapshots available on the pool since 2019 Aug even though the retention policy of velero schedule is just 10 days (240 hours). Also, when the data is backed up to a remote place like velero/Minio, why local snapshot is left out?
Expected Behavior
Snapshots should be cleared after the schedule is over. Also, snapshots should be cleared locally after pushing them into a remote place.
Current Behavior
Snapshot remains in the setup even after the schedule is over and pushed to a remote place.

Maya-apiserver doesn't have support to disable snapshot.
Just listing out the expected behavior...

when velero-plugin receives snapshot deletion request

plugin should delete the remote backup files and send the request to maya-apiserver for cstorbackup deletion.
maya-apiserver should delete relevant snapshot and cstorbackup for given backup and update CStorCompletedBackups accordingly.
if backup is not part of schedule then maya-apiserver should also delete CStorCompletedBackups for the given backup.

When backup completes

maya-apiserver should delete relevant snapshot and cstorbackup, CStorCompletedBackups for given backup, if backup is not part of schedule.
if backup is part of schedule then maya-apiserver should delete the snapshot(and cstorbackup), if snapshot is not generated by the last completed backup and update the relevant CStorCompletedBackups accordingly.
cc: @vishnuitta

thanks @mynktl for the steps..
let us just implement the '2nd' one i.e., when backup completes (be it either succeeds or fails).. Lets us not worry about '1st' one.
So, with this, we can still have last and last but one snapshots on cstor pool, and, admin need to manually delete them when deleting the velero backup schedule. It can be documented.

Few more dependent PRs need to be merged.