text:
Further accessbility improvements to search result titles

Problem

Currently search result titles announce the type of media (currently image or audio) and the title of a work. Visually, however, users are privy to much more information, including the CC licenses.
Description

We may want to announce what amounts to the full CC attribution for these works, including the license info and author name.
Alternatives

Conversely, this may be too much information for users and detract from the experience of moving through the results quickly to find a suitable image.
Additional context

I am not an accessibility expert but imo, the exact same amount of information as accessible to screen readers as to a person reading the screen directly. So while I'm pro-"adding more info to the SR text", I'm anti-"full attribution in the SR text".

Added the "discussion" and "ticket work required" labels till we finalise what the exact text should be.

I agree with @dhruvkb. SR accessibility doesn't necessarily mean providing the exact same full context so long as there are other ways of obtaining the same information. @zackkrida Did you get this feedback from someone based on experience using the site from a screen reader? As Dhruv and you've both pointed out, we don't want to make the site harder to navigate for someone using a screen reader. Perhaps making license filters more readily accessible is the best way to make sure screen reader users know the context of specific results rather than fully describing the licenses on each result.

I think we should add "{media} on Openverse" to the titles, we don't need to include any other information. Just the most basic amount of content to let you know you're visiting the page of a single, named work.

I'm actually going to close this and create a separate issue for the problem described in this comment, which refers to single result page SEO titles. The original issue, I believe, was referring to the individual result titles on a search result page, and how they should be presented. In that case I think sharing the title is sufficient, and delving into the single result can be used to determine the specific license and suitability of the result for use.

authors: dhruvkb sarayourfriend zackkrida

repo: WordPress/openverse


text:
Prevent workflows from eating up GitHub openverse-bot user's API requests

Problem

We have a lot of workflows that run on every push and some on every issue and PR that opens. Several of these could be limited to run in series or cancel in progress runs.
Description

Use the concurrency setting for workflows to manage runs that overlap: https://docs.github.com/en/actions/using-jobs/using-concurrency
Note that not all workflows will need the same configuration so do take care to investigate each one and ensure you understand when and why it runs to be able to develop the correct group name for them.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

After #1668, we have a good concurrency configuration for the workflows and I have not seen any rate-limiting affecting our workflows.

source: gharchive/issue

authors: dhruvkb sarayourfriend

license: MIT

license_type: permissive

license_source: github-api


text:
Made changes to the worktrolly ui

Functionality:
<-- please enter the functionality introduction -->
Solution:
<-- please enter brief solution -->
Risk level:

[ ] high
[ ] medium
[x] low

How to test:
<-- please tell us how to test functionality/bug -->
Here are sample images of how it is looking...
The Dashboard -

The Create New Task Page -

The Create New Sprint Page -

The Tasks -

The Task Information -

The Log Work Page -

The Edit Task Page -

please fill details in worktrolly

source: gharchive/pull-request

repo: Worktrolly/worktrolly


text:
Adjusting product-profunctors upper bounds.

Adjust the bounds of the product-profunctor package from >=0.6 && <0.7 to >=0.6 && <0.8.

Thanks!

Thanks, that was fast!

authors: WraithM cdepillabout

repo: WraithM/opaleye-trans

license_source: bigquery


text:
Problems of sample

log.txt and progress.csv will not output anything.
when segmentation_sample.py is running, the terminal says there are connection-errors.
i set num_ensemble=5 but just get one output image. from the terminal, it seems that something stop the iteration.

what parameters or arguments should i revise or what can i do?

it is ok log.txt and progress.csv don't output meaningful things in sampling, they are used to record the training loss. log.txt will only record the things you show in figure 2.
it doesn't matter. the warning is caused by visdom, which is used to visualize the intermediate results. it will not effect the results even if it can't work. the connection problem may be because your server cannot link the internet normally.
it's right. it outputs a single fused image.

Thanks a lot! 👍

authors: WuJunde riokoh

repo: WuJunde/MedSegDiff


text:
[Snyk] Upgrade gatsby from 5.11.0 to 5.12.12

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade gatsby from 5.11.0 to 5.12.12.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 15 versions ahead of your current version.
The recommended version was released 22 days ago, on 2023-12-07.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Denial of Service (DoS) SNYK-JS-GRAPHQL-5905181
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Proof of Concept

Heap-based Buffer Overflow SNYK-JS-SHARP-5922108
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Mature

Denial of Service (DoS) SNYK-JS-SOCKETIOPARSER-5596892
372/1000  Why? Proof of Concept exploit, CVSS 5.3
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes

Package name: gatsby

5.12.12 - 2023-12-07

5.12.11 - 2023-11-22

5.12.10 - 2023-11-21

5.12.9 - 2023-10-26

5.12.8 - 2023-10-20

5.12.7 - 2023-10-17

5.12.6 - 2023-10-09

5.12.5 - 2023-09-27

5.12.4 - 2023-09-05

5.12.3 - 2023-08-28

5.12.2 - 2023-08-28

5.12.1 - 2023-08-24

5.12.0 - 2023-08-24

5.12.0-next.1 - 2023-07-03

5.12.0-next.0 - 2023-06-15

5.11.0 - 2023-06-15

    from gatsby GitHub release notes

Commit messages

Package name: gatsby

8919f51 chore(release): Publish
bba81d6 chore: update gatsby-adapter-netlify version manifest (#38745) (#38746)
04030d1 chore(release): Publish
3380c59 fix(gatsby-source-contentful): don't apply parent node links to child nodes (#38728) (#38730)
4d78fba chore(release): Publish
f713e59 fix: re-install lmdb when detecting the absence of @ LMDB prebuilt packages (#38691) (#38707)
c5ec678 chore(release): Publish
1090558 feat(gatsby,gatsby-adapter-netlify): support pathPrefix and trailingSlash options (#38666) (#38701)
3ce63a4 chore(release): Publish
8ae5702 fix(gatsby-adapter-netlify): adapter use headerRoutes (#38652) (#38674)
8ae8281 chore(release): Publish
c43080f fix: respect 'force' and 'conditions' properties on redirects (#38657) (#38664)
4bf84f0 test(adapters-e2e): deploy to platform instead of ntl serve (#38643) (#38662)
67c8832 test: bump node version for pnp tests (#38656) (#38663)
6869562 fix(gatsby): Adapter header rules (#38644) (#38661)
4a76878 chore: added logging for cache handling (#38654) (#38660)
470d182 chore(release): Publish
02e925a fix(gatsby): support multiple instances of same variable in gatsbyImage placeholderUrl (#38626) (#38647)
8302bc8 fix(gatsby): don't force leading slash for external paths in routes manifest (#38639) (#38646)
39d2fd8 chore(release): Publish
acb8799 fix(gatsby): open lmdb instances in writeable locations in generated ssr/dsg function (#38631) (#38638)
1e8748c chore(release): Publish
f1a4107 chore(deps): upgrade sharp to latest v0.32.6 (#38374) (#38617)
4dc464b chore(source-npm-package-search): bespoke treatment for `plugin-gatsby-cloud` and `source-contentful` (#38619) (#38622)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for sage-dragon-9196d9 processing.

Name
Link

🔨 Latest commit
fbe340fd2568e3ff778a0dc741e8037a988a72b2

🔍 Latest deploy log
https://app.netlify.com/sites/sage-dragon-9196d9/deploys/658e71a9f176bc0008d2d5d1

repo: X-oss-byte/gatsby-starter-minimal-ts


text:
My battleship src folder is now missing?

Yeah, dunno why this is so. I don't have access to any files through NetBeans now. I can still see everything fine in GitHub (both online Git and local Git).

I use a Mac but i can try to help. So do you have the git application and Netbeans open?

Change your branch on the desktop app to the master and see if that brings
back the Files.
On Wednesday, February 25, 2015, apprehensivemeerkat <
notifications@github.com> wrote:

Yeah, dunno why this is so. I don't have access to any files through
NetBeans now. I can still see everything fine in GitHub (both online Git
and local Git).
—
Reply to this email directly or view it on GitHub
https://github.com/XBHSCS15/battleship/issues/14.

What's the status of this issue?
--
Anthony Byrne
Social Media Manager
Boston Granite Exchange
W: (508) 521-1800 | M: (339) 236-1921

On Feb 25, 2015, at 9:35 PM, TLouns notifications@github.com wrote:
Change your branch on the desktop app to the master and see if that brings
back the Files.
On Wednesday, February 25, 2015, apprehensivemeerkat <
notifications@github.com> wrote:

Yeah, dunno why this is so. I don't have access to any files through
NetBeans now. I can still see everything fine in GitHub (both online Git
and local Git).
—
Reply to this email directly or view it on GitHub
https://github.com/XBHSCS15/battleship/issues/14.

—
Reply to this email directly or view it on GitHub.

Unknown. The Meerkat has gone AFK
On Thu, Feb 26, 2015 at 7:45 AM, Anthony Byrne notifications@github.com
wrote:

What's the status of this issue?
--
Anthony Byrne
Social Media Manager
Boston Granite Exchange
W: (508) 521-1800 | M: (339) 236-1921

On Feb 25, 2015, at 9:35 PM, TLouns notifications@github.com wrote:
Change your branch on the desktop app to the master and see if that
brings
back the Files.
On Wednesday, February 25, 2015, apprehensivemeerkat <
notifications@github.com> wrote:

Yeah, dunno why this is so. I don't have access to any files through
NetBeans now. I can still see everything fine in GitHub (both online
Git
and local Git).
—
Reply to this email directly or view it on GitHub
https://github.com/XBHSCS15/battleship/issues/14.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/XBHSCS15/battleship/issues/14#issuecomment-76171974.

I'll just fix it in class or something.

authors: TLounsbury abyrne55 apprehensivemeerkat

license: mit


text:
🛑 Polygon is down

In 83f6ee8, Polygon (https://polygon.codeforces.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Polygon is back up in 2ccaa53.


text:
🛑 XCPCIO is down

In 8a57fb7, XCPCIO (https://xcpcio.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XCPCIO is back up in 0ad8d11.


text:
Add appearance="label" to notes

Would like to make a distinction between a readonly text input that shows the input field and a readonly text input that does not show the input field. (1) The use case for showing the field is when a calculation or default value is attached to the readonly text input. (2) The use case for not showing the field is when the user just wants to add some explanatory text or media.
Thus, I think it would be nice if these two questions get a slightly different XForm output:

type
name
readonly

note
n

text
r
yes

I am thinking we could use the existing appearance "label" and let pyxform add this automatically for questions with type="note". This way we won't have to re-invent anything.
If implemented, the following would get exactly the same XForm output:

type
name
appearance
readonly

note
n1

note
n2
label

text
r
label
yes

Thoughts?
P.S. So far Enketo currently deals with both use cases (1) and (2) by hiding the text input field when the value is empty. However, this wouldn't be (as) sensible for complex readonly widgets (such as geopoint or distress) where the user likely intends for the widget to be shown at all times. So I think it wasn't the right decision in Enketo.

Probably best for users if the client takes care of determining this.

repo: XLSForm/pyxform


text:
Update 1.3.4 Types

https://github.com/XRPL-Labs/XUMM-SDK/compare/54248f0d75...dba6bea136

https://github.com/XRPL-Labs/xumm-sdk-py/pull/34

repo: XRPL-Labs/xumm-sdk-py


text:
test practice

hi I want to practice

what can I know

head
head2
head3

item 1
item 2

item 1
item 2

item 1
item 2

bold
italic gray block quite good
gray block span lines

qutoe like this is very good

example of table
~~table is a good UI component to display organized data~~

NO
Name
Quantity
Price

Content
good
1.0
2.22

asdfasdf

First Header
Second Header

Content from cell 1
Content from cell 2

Content in the first column
Content in the second column

test this is gg

authors: XUXICHEN zencitta


text:
Display list items under categories differently

This addresses #233. Really nothing changes except that lists under categories are wrapped in their own <ul>.
I also just did a bit of clean up. Some of it is just code style/preference, so if I went overboard, feel free to have me revert something.

I also pushed in a regex fix to take care of #214, so that's no longer an issue.

If possible are one of you able to review this so I can merge it in or make any necessary changes?

@joshavanier thanks! Ha, I just didn't want to fix merge conflicts again.

repo: XXIIVV/Webring


text:
Add flexibility to apply the Interferometer

Context:
Add one argument for Interferometer in mrmustard/lab/gates.py
Description of the Change:
Add the argument 'modes' which indicates where the Interferometer is applied. And add the possible ValueError, when we have both arguments: num_modes and modes to guarantee they are consistent.
Benefits:
More flexibility for the application.

Great! (sorry it took so long). Could you update the changelog? : )
EDIT: I think the 'request changes' option was not the right one to request changes 🤔

I haven't found the changelog...

Hi @sylviemonet! The CHANGELOG file is in the .github folder. I can add a new entry for you if that's ok.
Also, I'm pushing some commits to make your PR work with the recent version of MM. Hope that's alright 🙃

Hi @sylviemonet! The CHANGELOG file is in the .github folder. I can add a new entry for you if that's ok.
Also, I'm pushing some commits to make your PR work with the recent version of MM. Hope that's alright 🙃

Thanks @sduquemesa! I hope it works. I found the changelog now.

@sylviemonet sure! that'd be very helpful. I think this is only missing the case in which the error is raised (when modes and num_modes are defined at the same time)

Are there some special black params for MM? I just blacked it but it doesn't work.

I usually do black -l 100 mrmustard/ tests/ for formatting

I usually do black -l 100 mrmustard/ tests/ for formatting

Thanks, @sduquemesa , could you please tell me if the test is right (My first time writing the test about the raise error case) and in the right place (I'm not sure about this)?

@sylviemonet let me check...

I think I found the issue: all test functions should start with test_, if not they won't run. I've changed the name.

I think I found the issue: all test functions should start with test_, if not they won't run. I've changed the name.

Thanks for this tip, but I'm wondering why the tests in the random.py do not obey this rule.

Oh, random.py is not a test file. The functions there are used to generate random inputs to the tests, for example
@st.composite
def modes(draw, num_modes):

produces a list of integers of length num_modes that are used to randomly define modes.

This is ready to merge @sylviemonet! 🚀 On you to press the green button!

This is ready to merge @sylviemonet! 🚀 On you to press the green button!

Thanks a lot!

authors: sduquemesa sylviemonet

repo: XanaduAI/MrMustard


text:
Bumped version number to 0.2.0

Bumps version number to 0.2
Bumps pennylane_requires to >=0.7.0, since inverse operations were only introduced in v0.7

The changes are all good, but we might want to wait with the release of PennyLane-Cirq until I ported it to QubitDevice?

This was superseded by #19, #21

repo: XanaduAI/pennylane-cirq


text:
Navbar bug

BUG -  When you open a dropdown in the navigation menu such as notifications or statistics, the menu remains displayed when navigating to another page such as about or merchants.

Yeah, workaround is to just click the dropdown again and it will collapse.
There's a somewhat large UI overhaul likely coming in the near future from #151 which will probably tweak this.... at least when I actually clear clown and have some time to look at it.

repo: Xeio/WanderLost


text:
Float encoding issue

There's an issue in the library/Go with encoding floats. The default in Go is to marshal floats with more then 6 digits to the scientific notation. Here's an example: https://play.golang.org/p/wgLouDNloYq
We're doing some integration work where the used currency is the Indonesian Rupiah. So the 6 digits are quickly reached when sending manual Journals. The scientific notation is (understandably) not accepted by the Xero api.
I think there're two options to fix this: don't use xml.Marshal for the request data. I don't really understand why this is used in the first place? Or make a custom type / alias for the float64 and customize how the float is marshalled to xml.

Hey Leon,
The API won't handle 6dp either so the best solution would be to round on your side before you send it.
There is a guide to rounding in Xero available here if you want to see how we handle rounding.

Hi Regan, the decimal positions are not the problem. It's the numbers in front on the dot. The library/Go converts 123456789.0 to 1.23456789e+08

Hi @TheRegan,
As Leon says it has to do with the encoding of numbers bigger than a million, not with decimals. The max amount of decimals we send over is 4. The problem occurs with the encoding of XML that isn't correct in the library of Go. Here floats that are bigger than a million are converted to scientific notation as described above.
The encoding of JSON in the Go Library was fixed in the past, so there the floats that are bigger than a million aren't converted to scientific notation.
That why Leon asked if we can send over JSON instead of XML.

authors: LeonB TheRegan pieterb82

repo: XeroAPI/xerogolang


text:
Pytorch exported ONNX does not have node names

Have noticed the onnx converter expilicitly use node name in ONNX model for several operations, while ONNX model exported by Pytorch does not really have name attribute. I am currently doing a dirty fix by changing onnx_converter.py:232
from
self.name = str(node.name)
to
self.name = str(node.name) if str(node.name) != '' else str(node.output[0])
any idea or better approach? (I know it's probably pytorch's problem but also want to make sure this fix does not break things)

@TonyMou Can you have a look?

repo: XiaoMi/mace


text:
Image::data() uses bp_size to return a slice.

I had a strange bug with my camera: image.data() returns an empty slice. I set the camera in unsafe mode.
If I understood correctly, In unsafe mode, bp_size is 0. This value is used by data to return an empty slice.
The data() function uses the following code to build the slice:
let length = self.xi_img.bp_size as usize / size_of::();
I think it would not work in the case of padding as well.
The type of T is u8. If the image is in RGB24, for instance, the calculation is wrong.
I suggest the implementation of a data_unsafe() that would take in template argument the XI image type (XI_RGB24), and deduce the buffer size from width and  height. It would work only for buffers with no padding.
In the streamViewer c++ example, there is an example of how to extract the data according to the pixel type.

The image struct could have a pixel_type.
The data function would use this to infer the bytes per pixel and return
the right slice size if bp_size = 0.

Would it be a proper way to handle this problem?
I will try to implement it and test it in my app. Then do a PR draft.

Would it be a proper way to handle this problem?
I will try to implement it and test it in my app. Then do a PR draft.

PR #12 fixes the issue.
However, under normal circumstances this problem should not appear. "bp_size" should be the correct size of the buffer, even in unsafe mode.
I could not reproduce the 0 in bp_size. Can you please let me know what you did to get this behavior? It is most likely a bug in the C API.

authors: GuillaumeSchmid superbort

repo: Ximea-GmbH/xiapi


text:
Free 100% updated Working fortnite vbucks Generator 2023

17 sec ago V Bucks Generator Claim your V Bucks Package by filling out the form below: free vbuck generator no verification, fortnite v buck generator no survey This is the freshest and latest form of Fortnite v bucks generator.
Last Update 08 July 2023
🔴✅𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄✅🅶🅴🆃🅵🆁🅴🅴
🔴✅𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄✅🅶🅴🆃🅵🆁🅴🅴
Which incorporates an alternative to get boundless free v bucks. We built up this fortnite vbuck generator since this sec ago.
16 bucks online generat or, free v bucks gen erator download 3ddi game is developing and got quantities of gamers on Fortnite servers. All of you know how much every
gamer requires v bucks and in-game assets to ace it. FREE V-Bucks GENERATOR, VBuck GENERATORS,FREE V-Bucks, VBuck GENERATOR, FREE VBuck, V Buck GEN Hey I have done working for new update of vbucks generator some cool features was added also improved performance and stability Now there are moresafe features to protect you
from ban As you may now there are only two ways to earn vbucks in a game First way is to level up your free battle pass and second way by Helanting But with help of this free vbucks generator you can create any amount of vbucks in We have lots of messages saying thank you Fortnite V-Bucks Claim your V Bucks Package by filling out the form below: Please note that you can only use this generator once every 1 hours so that Epic Games doesn't get suspicious. vbucks code generator, fortnite v buck generator
updated, free vbuck generator no verification, fortnite v buck generator no survey This is the freshest and latest form of Fortnite v bucks generator. Which incorporates an alternative to get boundless free v bucks. We built up this fortnite vbuck generator since this sec ago. 16 bucks online generat or, free v bucks gen erator download 3ddi game is developing and got quantities of gamers on Fortnite servers. All of you know how much every gamer requires v bucks
V Bucks generators Free are websites or software programs that claim to generate VBucks for Fortnite players.[fvg]

Free V Bucks Generator For Everyone
55 seconds ago~ Just Get Unlimited Vbucks Full Free With Hackxone CIT! Free vbuck generator no verification, fortnite v buck generator no survey This is the freshest and latest form of Fortnite v bucks generator. Which incorporates an alternative to get boundless free v bucks. We built up this fortnite vbuck generator since this sec ago.Free VBucks Codes [WORKS TODAY] 8.12 version {o32f7}
>>>CLICK HERE TO GENERATE NOW

Unlimited Free~Fortnite v Bucks Generator 2023 UPDATED .Fortnite V-Bucks Claim your V Bucks Package by filling out the form below: Please note that you can only use this generator once every.that Epic Games doesn't get suspicious. vbucks code generator, fortnite v buck generator updated, free vbuck generator no verification. FREE Fortnite vbucks generator. This alternative allows you to get unlimited vbucks.
FREE Fortnite vbucks generator. This alternative allows you to get unlimited vbucks.

Free V-Bucks Generator, ok get now and VBuck Generator Free V Bucks Fortnite Account Generator. Generator for Free V Bucks. Get Free Fortnite Vbucks from Fortnite V bucks generator free. This Generator generates Fortnite vbucks for free. Get free fortnite skins and free fortnite battle royale pass.

>>>CLICK HERE TO GENERATE NOW
free v bucks gen erator download 3ddi game is developing and got quantities of gamers on Fortnite servers. All of you know how much every gamer requires v bucks and in-game assets to ace it. FREE V-Bucks GENERATOR, VBuck GENERATORS,FREE V-Bucks, VBuck GENERATOR, FREE VBuck, V Buck GEN Hey I have done working for new update of vbucks generator some cool features was added also improved performance and stability Now there are moresafe features. mark
2023
CLICK HERE TO GET GENERATOR

Welcome to V Bucks Generator, your one-stop shop for earning V-
free v bucks gen erator download 3ddi game is developing and got quantities of gamers on Fortnite servers. All of you know how much every gamer requires v bucks and in-game assets to ace it. FREE V-Bucks GENERATOR, VBuck GENERATORS,FREE V-Bucks, VBuck GENERATOR, FREE VBuck, V Buck GEN Hey I have done working for new update of vbucks generator some cool features was added also But with help of this free vbucks generator you can create any amount of vbucks in We have lots of messages saying thank you. uygviubujyd tg FREE V-Bucks GENERATOR, VBuck GENERATORS,FREE V-Bucks, VBuck GENERATOR, FREE VBuck, V Buck GENERATOR, FREE V buck, V Buck GENERATORS, FREE V Bucks, Fortnite Account GENERATOR

repo: XingangPan/SCNN


text:
Any suggestions on how to train a good D3Feat model?

Hi Xuyang
Hello, thank you for your excellent work! I am currently trying to train D3Feat on KITTI, both with your original dataset and my modified KITTI dataset (with different frame pairs). But with the default setting, I cannot get satisfying results with my modified dataset (test registration accuracy around 42%, way worse than your pretrained model on KITTI).
I must confess that this is confusing, and is probably caused by my unintentional code tweaks rather than false training strategies. I have been running reference experiments on freshly downloaded master version D3Feat as well to rule out that possibillity, but that will take days and I am in a hurry. I wonder if there are any suggestions or code changes to train a good model like the pretrained one on KITTI?
best
Quan

Hi Xuyang
Thanks a lot for your timely reply! I will try finetuning the pretrained weight.
Best
Quan


text:
The performance of transfusion_nusc_voxel_LC

Hi, Xuyang.
I'm currently working on reproducing TransFusion. After training for 20 epochs on LiDAR, I obtained results with mAP: 0.6463 and NDS: 0.6979, which are close to the original TransFusion-L.
However, when I continued training for 6 epochs for fusion, the first epoch yielded very low results with mAP: 0.3156 and NDS: 0.2860. Is this normal?

Hi, @Wang-pengfei , did you solve this problem? I trained Transfusion_L with the original script, but my performance can only reach NDS around 67 and mAP around 60. Do you have any ideas on how I can improve this, or are there any other tricks I missed?

repo: XuyangBai/TransFusion


text:
Incorrect test color on schedule view

On the Schedule view for a test schedule created, there was a class with a blue background, but red text

Error seems to only occur with this specific schedule. Have not been able to see error happen with any alternative set up of schedule. Always happen when this schedule is constructed this exact way, even color scheme is different.

Issue has resolved, waiting for a conflicting previous PR to be finished before being able to correctly implement changes

PR submitted, change was made to correct the faulty color array, and to account for more classes than available colors

Fixed as of #50

authors: Bad-Science marchdan

repo: YACS-RCOS/yacs-web


text:
[추가] ERD변경사항 엔티티 적용 및 liquibase 통한 스키마 생성 스크립트 추가 (#9)

개발 DB 셋팅이 포함됨
liquibase 사용 방법은 노션 참고
closes #9

왜 해당 부분이 ERD에 반영이 안되어있었을까요...

@Park-Young-Hun 수정 및 반영 완료했습니다~!


text:
[7-FEAT] 사용자 모델 작성

작업 목록

[x] sequelize-typescript 의존성 추가
[x] User 모델 작성
[x] Promise 모델 작성
[x] PromseUser 모델 작성 및 연관관계 설정

세부 내용

매번 서버 실행시 타이핑하기 귀찮아서 package.json에 start 스크립트 추가해놓았습니당
npm start로 nodemon 실행시킬 수 있어요~ 🙃

DB 만들때 Pk에 Auto Increment 속성 모든 테이블에 부여하지 않아서 😱 (왜그랬을까요)
Sequelize에서 AI로 PK 설정시 오류가 나길래 모든 테이블 PK AI 속성 추가해놓았습니다!

약속 모델에서 필수적인 startDate, endDate가 DB에서 null 허용으로 설정되어있길래 not null로 변경하고 모델 작성했습니다.
주최자(ownerId) 컬럼과 연관 설정도 작성되어있지 않길래 ERD와 DB 수정하고 모델에 추가해서 구현했습니다.

연관 제대로 맺어지는 거 까지 확인하고 push했습니당! 혹시 연관 설정 참조 코드 필요하실까봐 작성해놓을께요!
const testFunc = async () => {
  const user = new User({ userName: 'My User' }); // User.create()와 같이도 가능한데 저는 요 표현이 익숙해서!
  const savedUser = await user.save(); // 만든 엔티티 DB에 저장
  const promise = new PromiseModel({
    promiseName: 'My Promise',
    startDate: new Date(),
    endDate: new Date()
  });
  const savedPromise = await promise.save();

  console.log(savedUser.id); // 컬럼 확인
  console.log(savedPromise.id);

  await savedPromise.$set('owner', user); // OneToMany의 One(owner)으로 설정
  await savedUser.$add('promise', savedPromise); // ManyToMany의 Many(promises)에 추가

  const promises = await savedUser.$get('promises'); // 연관 배열 가져오기
  const ownPromises = await savedUser.$get('ownPromises');
};

오늘 안에 나머지 모델도 작성해서 올리겠습니다~ 😀

논의 사항

models 디렉토리명 복수명으로 선영님이 생성하셨길래
복수명으로 통일하는게 나을 것 같아서 나머지 디렉토리도 통일했습니다! ex) controller/ -> controllers/

테이블마다 중요한 엔티티만 PK 이름에 객체명을 붙였는데 ex) promiseId
PK 이름을 다르게 설정해놓으니 개발시 혼동을 줄 수 있을 것 같아서 의미상 이름은 DB에서만 유지하고
개발에서는 컬럼명 매핑을 통해서 id로 통일하는 거 어떠신가요? (@Column의 field 속성을 통해 매핑)
@PrimaryKey
@AutoIncrement
@Column({ type: DataType.INTEGER, field: 'promiseId' })
id: number;

prettier 폭 80자 너무 좁길래 100자로 늘렸습니다...😅

연결된 이슈

#7

DB나 폴더명 수정 번거로우셨을텐데 맡아주셔서 감사해요..! 저도 하면서 더 고칠 부분 있는 지 살펴보도록 하겠습니다! 수고하셨습니다!!

authors: binimini cpplovelove


text:
yapi不支持node10.x.x

版本号
yapi-cli@1.5.0
什么问题
(node:27797) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND yapi.demo.qunar.com yapi.demo.qunar.com:80
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
(node:27797) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:27797) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
当前安装版本： 1.9.1
连接数据库成功!
开始下载平台文件压缩包...
http://registry.npm.taobao.org/yapi-vendor/download/yapi-vendor-1.9.1.tgz
部署文件完成，正在安装依赖库...
npm
WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN
npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN
npm You can find the latest version at https://nodejs.org/
npm WARN eslint-config-modular@4.2.2 requires a peer of eslint@>=3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN mongoose-auto-increment@5.0.1 requires a peer of mongoose@^4.1.12 but none is installed. You must install peer dependencies yourself.
up to date in 1.197s
依赖库安装完成，正在初始化数据库mongodb...
Error:  npm
如何复现此问题
正常安装，执行yapi server 后，进行部署
什么浏览器
chrome
什么系统（Linux, Windows, macOS）
linux

楼主，请问解决了吗，
遇到了一样的报错

repo: YMFE/yapi


text:
功能询问：如何在yapi中进行数据预处理，类似于其它测试框架中的before test

版本号
~
什么问题
查看了Pre-request Script等功能，发现只能改变当前请求的参数等。现在需要在执行测试用例集之前，提前生成一批测试数据，并把测试数据传给测试用例集使用，请问该如何操作？是否有类似功能。因为要造100个数据的话，在用例集合里面调用100次接口太费劲了。
如何复现此问题
~
什么浏览器
~
什么系统（Linux, Windows, macOS）

同问

同问

authors: anveenana sephirothgao


text:
Easy guide for customizing the HTML and CSS?

[x] I've read the guidelines for Contributing to YOURLS Projects
[x] This request isn't a duplicate of an existing request
[x] This is not a personal support request that should be posted on the YOURLS Discourse community

Summary
I would like to know if there can be a guide that describes how to customize the HTML and CSS for yoURLs. Such as what CSS property changes what, how to add your own HTML, change some existing HTML, etc.
Motivation
I think that it would be cool to get to customize the HTML and CSS. If someone wants to become the next bit.ly, they will need to change the HTML to make it like they want. It is hard for me to look through all the code (I do not have any knowledge of PHP) and figure out what changes what, if it works or not, and if it does the thing I want.
Describe the solution you'd like
The solution I would like is a guide that is easy to follow, that gives you details on functions do what and how to customize the HTML and CSS.

I suggest you have a look at how YOURLS plugins or themes that modify the interface work.

authors: BreadcrumbIsTaken ozh

repo: YOURLS/YOURLS


text:
Fix spaces and punctuation

Fix English punctuation style, where there is never space before the sign.
Remove some duplications like etc... => etc.
Switch from emoticon to emoji

Thanks @dgw! ❤ (don't hesitate to review of course, I thinking about requesting @YOURLS/core next time, just to be generic 😎)

repo: YOURLS/docs


text:
如果两个页面都有Sticky 组件，来回撤回的时候，会弹出bottom错误

h5-nav-height这个属性惹的，困了几周了希望尽快解决~
index.umd.min.js?1c31:1 Uncaught TypeError: Cannot read property 'bottom' of null
at o (index.umd.min.js?1c31:1)
at eval (index.umd.min.js?1c31:1)
at Array.forEach ()
at IntersectionObserver.a..IntersectionObserver.root (index.umd.min.js?1c31:1)
o @ index.umd.min.js?1c31:1
eval @ index.umd.min.js?1c31:1
a..IntersectionObserver.root @ index.umd.min.js?1c31:1

h5-nav-height这个属性惹的，困了几周了希望尽快解决~
index.umd.min.js?1c31:1 Uncaught TypeError: Cannot read property 'bottom' of null
at o (index.umd.min.js?1c31:1)
at eval (index.umd.min.js?1c31:1)
at Array.forEach ()
at IntersectionObserver.a..IntersectionObserver.root (index.umd.min.js?1c31:1)
o @ index.umd.min.js?1c31:1
eval @ index.umd.min.js?1c31:1
a..IntersectionObserver.root @ index.umd.min.js?1c31:1

这个问题是只存在于h5吗？

authors: BeiQiaoT bbzhengcheng

repo: YanxinNet/uView


text:
有社区 交流群吗

比如 qq  微信 等等交流群

希望能够开放核心贡献者交流群，好的东西需要社区的力量一起打磨，这样能够加速完善

有对应的roadmap不

我们正在打磨下个大版本，包括重构之后的xgen，简化之后的dsl，dsl语句的import和export，socket、websocket以及iot等相关支持。
届时也会正式面向国内开发者进行推广，包括开发者反馈群、核心开发者群。

等官方的好消息

抓紧搞个反馈群

https://github.com/YaoApp/yao/issues/159

repo: YaoApp/yao


text:
resolved localstorage issue

i resolved the user email not found in localstorage

you was right the issue was in login with google i have raised an issue here i will implement login with google as you said
please assign this issue https://github.com/Yashgabani845/hiring-portal/issues/359
and merge this pr @Yashgabani845

please merge this pr @Yashgabani845  asap as today is the last day of gssoc-ext


text:
A CLI that can perform chip inspection, memory dump, download and erase conveniently

Title.

This would be so cool, it's so annoying when I'm using a non ST chip and I can't use st-flash {data} {address}.

repo: Yatekii/probe-rs


text:
detect-secrets 1.0.0 pre-commit hook broken

Hi, and congrats on releasing version 1.0.0 of detect-secrets!  I feel bad filing the first bug report against this new version, but the pre-commit hook / setup.py is broken.  I'm using pre-commit version 2.10.1, the latest version.
To reproduce:

Have a .pre-commit-config.yaml file like this:

repos:

  - repo: 'https://github.com/Yelp/detect-secrets'
    rev: 'v1.0.0'
    hooks:
      - id: 'detect-secrets'

Run pre-commit run --all-files.

Observe output like this:

[INFO] Installing environment for https://github.com/Yelp/detect-secrets.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/Users/manselmi/.cache/pre-commit/repo4vblkajn/py_env-python3/bin/python', '-mpip', 'install', '.')
return code: 1
expected return code: 0
stdout:
    Looking in indexes: http://localhost:3141/root/local/+simple/
    Processing /Users/manselmi/.cache/pre-commit/repo4vblkajn

stderr:
        ERROR: Command errored out with exit status 1:
         command: /Users/manselmi/.cache/pre-commit/repo4vblkajn/py_env-python3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders
/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/setup.py'"'"'; __file__='"'"'/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5
t/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exe
c'"'"'))' egg_info --egg-base /private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-pip-egg-info-ucyg6p6p
             cwd: /private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/
        Complete output (19 lines):
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/setup.py", line 4, in <module>
            from detect_secrets.__version__ import VERSION
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/__init__.py", line 1, in <module>
            from .core.secrets_collection import SecretsCollection  # noqa: F401
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/core/secrets_collection.py", line 11, in <module>
            from . import scan
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/core/scan.py", line 24, in <module>
            from .plugins import Plugin
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/core/plugins/__init__.py", line 1, in <module>
            from . import initialize    # noqa: F401
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/core/plugins/initialize.py", line 9, in <module>
            from .util import get_mapping_from_secret_type_to_class
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/core/plugins/util.py", line 13, in <module>
            from ...plugins.base import BasePlugin
          File "/private/var/folders/tg/06ncct7j4b74t13k0fp8h9sd9w0tnj/T/pip-req-build-638l7i5t/detect_secrets/plugins/base.py", line 19, in <module>
            import requests
        ModuleNotFoundError: No module named 'requests'
        ----------------------------------------
    WARNING: Discarding file:///Users/manselmi/.cache/pre-commit/repo4vblkajn. Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Check the log at /Users/manselmi/.cache/pre-commit/pre-commit.log

There is a chicken-and-egg problem in setup.py.  setup.py imports detect_secrets before running the setuptools code that installs runtime dependencies such as requests, and since those dependencies are not yet available, we get a ModuleNotFoundError.

You may notice in the example above that I was not using the PyPI index, but the issue still occurs when installing from PyPI.

I have made a PR that should fix the problem. I avoid importing the module by just parsing the text in __version__.py directly. It's not very robust currently (you could use a regex if you like). but I think using something like setuptools_scm is a cleaner solution anyway.

I tested this with the patch, and it seems to work now.
$ cat .pre-commit-config.yaml
...
-   repo: https://github.com/Yelp/detect-secrets
    rev: v1.0.1
    hooks:
    -   id: detect-secrets
        args: ['--baseline', '.secrets.baseline']
$ PIP_DEFAULT_INDEX_URL='https://test.pypi.org/simple/' pre-commit run
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to /Users/aaronloo/.cache/pre-commit/patch1614267034.
Check builtin type constructor use...................(no files to check)Skipped
Check docstring is first.............................(no files to check)Skipped
Debug Statements (Python)............................(no files to check)Skipped
Fix double quoted strings............................(no files to check)Skipped
Fix End of Files.........................................................Passed
Tests should end in _test.py.........................(no files to check)Skipped
Flake8...............................................(no files to check)Skipped
Trim Trailing Whitespace.................................................Passed
Reorder python imports...............................(no files to check)Skipped
Add trailing commas..................................(no files to check)Skipped
autopep8.............................................(no files to check)Skipped
Detect secrets...........................................................Passed
[INFO] Restored changes from /Users/aaronloo/.cache/pre-commit/patch1614267034.

Will deploy to public PyPI. Thanks for reporting this so quickly!

Updating https://github.com/Yelp/detect-secrets ... [INFO] Initializing environment for https://github.com/Yelp/detect-secrets.
updating v0.14.3 -> v1.0.0.

Well... Now it is broken again.

@AIGeneratedUsername : can you provide reproduction steps? It looks like you're updating to the broken version.

can you provide reproduction steps?

The issue is that pre-commit autoupdate updated the version to the "1.0.0" (instead of 1.0.1").

It looks like you're updating to the broken version.

Yep, you are correct. Now it works. I set the version manually in the ".pre-commit-config.yaml" file:

-   repo: https://github.com/Yelp/detect-secrets
    rev: v1.0.1
    hooks:
    -   id: detect-secrets
        args: ['--baseline', '.secrets.baseline']
        exclude: package.lock.json

Thank you for your response.

authors: AIGeneratedUsername cbows domanchi michael-anselmi

repo: Yelp/detect-secrets


text:
Auditing is not robust

When you audit a baseline, if a file has been removed, it crashes the audit command and you lose all your progress.
Progress should be saved after each keystroke, and system calls should be protected by a try ... catch block
How to reproduce

Create a baseline with secrets
Remove one of the files referenced in the baseline
Audit the baseline

Here lies the relevant stack trace
Secrets Left: 1/1
Filename:     test_secrets/file_with_secrets.py
----------
sed: can't read test_secrets/file_with_secrets.py: No such file or directory
Traceback (most recent call last):
  File "/kevin/code/gh_detect_secrets/detect-secrets/three_six/bin/detect-secrets", line 11, in <module>
    sys.exit(main())
  File "/kevin/code/gh_detect_secrets/detect-secrets/three_six/lib/python3.6/site-packages/detect_secrets/main.py", line 43, in main
    audit.audit_baseline(args.audit[0])
  File "/kevin/code/gh_detect_secrets/detect-secrets/three_six/lib/python3.6/site-packages/detect_secrets/core/audit.py", line 40, in audit_baseline
    original_baseline['plugins_used'],
  File "/kevin/code/gh_detect_secrets/detect-secrets/three_six/lib/python3.6/site-packages/detect_secrets/core/audit.py", line 121, in _print_context
    plugin_settings,
  File "/kevin/code/gh_detect_secrets/detect-secrets/three_six/lib/python3.6/site-packages/detect_secrets/core/audit.py", line 212, in _get_secret_with_context
    filename,
  File "subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['sed', '-n', '1,9p', 'test_secrets/file_with_secrets.py']' returned non-zero exit status 2.
``

Fixed by https://github.com/Yelp/detect-secrets/pull/56

authors: KevinHock LouisTrezzini


text:
Is it possible to pass the value captured by an alert into the alert_subject_args?

For example, if I have a type: cardinality alert with max_cardinality: 100.... I'd love for the alert_text to include what the actual recorded cardinality was.  Is this possible?
The docs do not show a way to do this.

Did you find solution for that?

authors: empirium jpmor

repo: Yelp/elastalert


text:
LeaderfFile DIR fails to open file at correct path

vim or neovim?

[x] vim
[x] neovim

Output of vim --version or nvim --version:

	VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 19 2018 23:02:37)
	MS-Windows 64-bit GUI version with OLE support
	Included patches: 1-610
	Compiled by appveyor@APPVYR-WIN
	Huge version with GUI.  Features included (+) or not (-):
	+acl                +cmdline_hist       +eval               +keymap             +multi_lang         +reltime            +terminal           +vreplace
	+arabic             +cmdline_info       +ex_extra           +lambda             +mzscheme/dyn       +rightleft          -termresponse       -vtp
	+autocmd            +comments           +extra_search       +langmap            +netbeans_intg      +ruby/dyn           +textobjects        +wildignore
	+autochdir          +conceal            +farsi              +libcall            +num64              +scrollbind         +textprop           +wildmenu
	+autoservername     +cryptv             +file_in_path       +linebreak          +ole                +signs              -tgetent            +windows
	+balloon_eval       +cscope             +find_in_path       +lispindent         +packages           +smartindent        +timers             +writebackup
	-balloon_eval_term  +cursorbind         +float              +listcmds           +path_extra         +startuptime        +title              -xfontset
	+browse             +cursorshape        +folding            +localmap           +perl/dyn           +statusline         +toolbar            -xim
	++builtin_terms     +dialog_con_gui     -footer             +lua/dyn            +persistent_undo    -sun_workshop       +user_commands      +xpm_w32
	+byte_offset        +diff               +gettext/dyn        +menu               -postscript         +syntax             +vartabs            -xterm_save
	+channel            +digraphs           -hangul_input       +mksession          +printer            +tag_binary         +vertsplit
	+cindent            +directx            +iconv/dyn          +modify_fname       +profile            +tag_old_static     +virtualedit
	+clientserver       -dnd                +insert_expand      +mouse              +python/dyn         -tag_any_white      +visual
	+clipboard          -ebcdic             +job                +mouseshape         +python3/dyn        +tcl/dyn            +visualextra
	+cmdline_compl      +emacs_tags         +jumplist           +multi_byte_ime/dyn +quickfix           -termguicolors      +viminfo
	system vimrc file: "$VIM\vimrc"
		user vimrc file: "$HOME\_vimrc"
	2nd user vimrc file: "$HOME\vimfiles\vimrc"
	3rd user vimrc file: "$VIM\_vimrc"
		user exrc file: "$HOME\_exrc"
	2nd user exrc file: "$VIM\_exrc"
	system gvimrc file: "$VIM\gvimrc"
		user gvimrc file: "$HOME\_gvimrc"
	2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
	3rd user gvimrc file: "$VIM\_gvimrc"
		defaults file: "$VIMRUNTIME\defaults.vim"
		system menu file: "$VIMRUNTIME\menu.vim"
	Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL   -DFEAT_XPM_W32   -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_MBYTE -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python37.dll\" -DFEAT_MZSCHEME -I "C:\Program Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DFEAT_HUGE /Fd.\ObjGXOULYHTRZAMD64/ /Zi
	Linking: link  /nologo /subsystem:windows,5.02 /opt:ref /LTCG:STATUS /HIGHENTROPYVA:NO oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64 gdi32.lib version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib  /machine:AMD64  libcmt.lib oleaut32.lib user32.lib  /nodefaultlib:lua53.lib  /STACK:8388608  /nodefaultlib:python27.lib /nodefaultlib:python37.lib   "C:\Tcl\lib\tclstub86.lib" WSock32.lib xpm\x64\lib-vc14\libXpm.lib /PDB:gvim.pdb -debug

:echo g:Lf_Debug_Cmd

Output of :echo has("python"): 0
Output of :echo has("python3"): 1
Output of :echo &pythondll(only vim, not neovim): python27.dll
Output of :echo &pythonthreedll(only vim, not neovim): python37.dll
Output of :py print(sys.version): error
Output of :py3 print(sys.version): 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]
Output of :echo g:Lf_Debug_Cmd: git ls-files  && git ls-files --others --exclude-standard  -x ".svn" -x ".hg" -x "*.sw?" -x "~$*" -x "*.bak" -x "*.exe" -x "*.o" -x "*.so" -x "*.py[co]" -x "*.tmp"
Operating system:

[ ] Linux
[ ] Mac OS X
[x] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

	let g:Lf_StlSeparator = { 'left': '', 'right': '' }
	let g:Lf_ShortcutF = '<leader>ff'
	let g:Lf_Shortcutb = '<leader>b'
	let g:Lf_WindowHeight = 0.30
	let g:Lf_ShowHidden = 1
	let g:Lf_FollowLinks = 1
	let g:Lf_CommandMap = {'<ESC>': ['<C-Space>', '<ESC>']}
	let g:Lf_NormalMap = {"File":   [["u", ':LeaderfFile ..<CR>']]}
    let g:Lf_PreviewResult = {'Colorscheme': 1}
    let g:Lf_WildIgnore = {
            \ 'dir': ['.svn','.git','.hg'],
            \ 'file': ['*.sw?','~$*','*.bak','*.exe','*.o','*.so','*.py[co]', '*.tmp']
            \}
    let g:Lf_MruWildIgnore = copy(g:Lf_WildIgnore)
	cabbrev lf LeaderfFile
	nnoremap <leader>f/ :Leaderf rg<CR>
	nnoremap <leader>/ :LeaderfLineAll<CR>
	nnoremap <leader>fh :LeaderfHelp<CR>
	nnoremap <leader>fm :LeaderfMru<CR>
	nnoremap <leader>fs :LeaderfSelf<CR>
	nnoremap <leader>fc :LeaderfColorscheme<CR>
	nnoremap <leader>fdd :LeaderfFile ~/docs<CR>
	" open .vim or .vimfiles or nvim config directory
	nnoremap <leader>fdv :exe ':LeaderfFile '.fnamemodify($MYVIMRC, ':p:h')<CR>

Describe your question, feature request, or bug.
When you have
" Convenient to :save or :write a copy of a file to the same directory.
autocmd BufEnter * silent! lcd %:p:h

then second :LeaderfFile DIR fails to open correct file.
The same happens if you have vim-rooter plugin installed.
Steps to reproduce
with autocmd:

Add autocmd to your vimrc or install vim-rooter plugin.
Open file in first directory with :LeaderfFile DIR1
Open file in second directory with :leaderfFile DIR2

with vim-rooter:
The same as with autocmd but DIR1 and DIR2 should be under git -- so vim-rooter will change cwd.

Actual behaviour
Empty file with the chosen file name is opened at incorrect path.
Expected behaviour
Choosen file should be opened.

autocmd BufEnter * silent! lcd %:p:h

This command is evil, please do not use it.

I know, I don't use it. The main issue is with vim-rooter which essentially do the same under the hood -- changes working directory whenever you open a file.

I think you should change your workflow. I also work on Windows sometimes, I have never encountered this issue. So I don't need  vim-rooter.
My workflow is:

right click, a menu is popped up.

select Vim Here
enter vim, and the current working directory is the current directory.

How to add the Vim Here to right-click menu?
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\edit with vim8.0]
@="Edit with vim8.0"
"Icon"="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\""

[HKEY_CLASSES_ROOT\*\Shell\edit with vim8.0\command]
@="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\Shell\edit with vim8.0]
@="Edit with vim8.0"
"Icon"="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\""

[HKEY_CLASSES_ROOT\Directory\Shell\edit with vim8.0\command]
@="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\Vim8.0 Here]
@="Vim8.0 Here"
"Icon"="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\""

[HKEY_CLASSES_ROOT\Directory\Background\Shell\Vim8.0 Here\command]
@="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\""

[HKEY_CLASSES_ROOT\Drive\Shell\edit with vim8.0]
@="Edit with vim8.0"
"Icon"="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\""

[HKEY_CLASSES_ROOT\Drive\Shell\edit with vim8.0\command]
@="\"C:\\Program Files\\Vim\\vim80\\gvim.exe\" %1"

Save the text above in a file named, for example, vim.reg. Run this file.
(Of course you can customize C:\\Program Files\\Vim\\vim80\\gvim.exe)

I have "Vim here", but it really is inconvenient for me.
I usually <Win>gvim<Enter> and then open files/projects needed.
Well, okay. I can see a couple ways to workaround my problem:

try to ~fix it~ change the way it works in a fork of your plugin
return to fzf -- try to add some parts of leaderf there (mostly your awesome LeaderfHelp)
or return to CtrlP

Anyway, thanks!

YES!
It is fixed! Thank you very much, really appreciated!

authors: Yggdroot habamax

repo: Yggdroot/LeaderF


text:
[Bug]

为了提高交流效率，我们设立了官方 QQ 群和 QQ 频道，如果你在使用或者搭建过程中遇到了任何问题，请先第一时间加群或者频道咨询解决，除非是可以稳定复现的 Bug 或者较为有创意的功能建议，否则请不要随意往 Issue 区发送低质无意义帖子。

点击加入官方群聊

反馈须知
⚠ 注意：不遵循此模板的任何帖子都会被立即关闭，如果没有提供下方的信息，我们无法定位你的问题。
请在下方中括号内输入 x 来表示你已经知晓相关内容。

[x ] 我确认已经在 常见问题 中搜索了此次反馈的问题，没有找到解答；
[ x] 我确认已经在 Issues 列表（包括已经 Close 的）中搜索了此次反馈的问题，没有找到解答。
[ x] 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题，没有找到解答。

描述问题
vercel 换了一个api之后进行redeploy失败，如图片所示
如何复现
请告诉我们你是通过什么操作触发的该问题。
截图

一些必要的信息

系统：[比如 windows 10/ macos 12/ linux / android 11 / ios 16]
浏览器： [比如 chrome, safari]
版本： [填写设置页面的版本号]
部署方式：[比如 vercel、docker 或者服务器部署]

don't upgrade package

删除 vercel 项目重新部署。

authors: H0llyW00dzZ Yidadaa nnvvff

repo: Yidadaa/ChatGPT-Next-Web


text:
侧滑有不设置背景为透明的方案吗？

设置窗口背景为透明后，在8.0的系统上会闪退，不改的话只能取消设置屏幕方向才能兼容，而且背景透明后，activity的xml界面必须设置背景

同感

开屏页不需要侧滑设置为portrait不透明，然后其他的都设置为behind且透明，好像可以解决这个问题。

authors: downtail hegaojian oarage

repo: YoKeyword/Fragmentation


text:
banner跟viewpager+tab切换时出现图片不显示白屏的情况

第一个tab头部是banner轮播，当轮播未完成一次循环时，进行tab页面切换使用懒加载的方式加载的其他页面，快速切换后重新回到第一个tab页面出现未完成第一次显示的图片为空白图片，已完成切换的正常显示。如果等待所有的banner图片完成一次轮播后，再进行tab切换则一切正常，问下这个是什么原因造成的呢，拜谢！！！

第一个tab页面出现未完成第一次显示的图片为空白图片

初步怀疑是你banner库，或者你自己处理banner的问题。
我的项目banner
你可以看看我是怎么处理的，场景跟你一样的。
还有你发起了两次相同的iss，下次尽量避免。

authors: LonelyMushroom zuojianjian


text:
Multiset.size=NaN when removing non-existent element

    const multiset = new MultiSet();
    multiset.add('a');        console.log(multiset.size);
    multiset.add('a');        console.log(multiset.size);
    multiset.remove('a');     console.log(multiset.size);
    multiset.remove('a');     console.log(multiset.size);
    multiset.remove('a');     console.log(multiset.size);

Yields
1
2
1
0
NaN

If this is expected, consider documenting it accordingly.

Thanks @kberg. This is now fixed in v0.39.3.

Thank you!

authors: Yomguithereal kberg

repo: Yomguithereal/mnemonist


text:
100k crash game

just bruh
100 keys crah game
the game is SAD
i don't even know anymore

It's normal, cause the Strums animations haven't been set for 100 keys in the Default Note.hx
Copy it over to your mod and add a 100 keys scheme to it (the array of array of array of string at the very top)


text:
LSB first registers (e.g. [0:N-1]) leads to incorrect logic

Steps to reproduce the issue
module top (CLK, CE, SEL, SI, DO);
parameter SELWIDTH = 1;
parameter DATAWIDTH = 2;
input    CLK, CE;
input [DATAWIDTH-1:0] SI;
input [SELWIDTH-1:0] SEL;
output [DATAWIDTH-1:0] DO;
localparam DATADEPTH = 2**SELWIDTH;
reg [0:DATADEPTH-1] data1 [DATAWIDTH-1:0];
reg [DATADEPTH-1:0] data2 [DATAWIDTH-1:0];

generate
    genvar i;
    for (i = 0; i < DATAWIDTH; i=i+1) begin
        always @(posedge CLK)
        begin
            if (CE == 1'b1) begin
`ifdef BROKEN
                data1[i] <= {SI[i], data1[i][0:DATADEPTH-2]};
`else
                data2[i] <= {data2[i][DATADEPTH-2:0], SI[i]};
`endif
            end
        end
`ifdef BROKEN
        assign DO[i] = data1[i][SEL];
`else
        assign DO[i] = data2[i][SEL];
`endif
    end
endgenerate
endmodule

yosys -p "read_verilog -DBROKEN top.v; synth_xilinx" gives:
   Number of cells:                  5
     FDRE                            3
     LUT3                            2

Expected behavior
yosys -p "read_verilog top.v; synth_xilinx" gives:
   Number of cells:                  6
     FDRE                            4
     LUT3                            2

Actual behavior
yosys -p "read_verilog -DBROKEN top.v; synth_xilinx" on 8c0740bc gives:
   Number of cells:                  5
     FDRE                            3
     LUT3                            2

Same command on e112d2fb gave:
   Number of cells:                  8
     FDRE                            4
     LUT3                            4

MCVE:
module top (input clk, sel, di, output do);
        reg [0:1] data [0:0];
        always @(posedge clk)
                data[0] <= {di, data[0][0]};
        assign do = data[0][sel];
endmodule

Should be two registers, but synthesizes to only one, because the "upto-ness" is not properly preserved in the mem2reg AST pass.

authors: cliffordwolf eddiehung

repo: YosysHQ/yosys

license: isc


text:
write_btor: don't emit undriven bits multiple times

Fixes #4640

I wonder why the macos tests are failing - doesn't seem clear to me. I wouldn't expect any tests to fail as there is no test coverage of the btor backend...


text:
🛑 UPC is down

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

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 93a425d after 15 minutes.

repo: Yourrrrlove/upptime


text:
🛑 UPC is down

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

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 5f8000c after 6 minutes.


text:
multiple camera mode?

Hi, and thank you for making this code available.
I see on the to-do list you have multiple camera mode.  Is this something that it would be easy to implement in this code?
Thanks!

Sorry for the reply. Unfortunately, the repository contains only a student course project. The multiple camera mode would not be implemented under current situation.

authors: YuePanEdward antithing

repo: YuePanEdward/EasySFM


text:
A100 40G可以跑通训练吗？全参数SFT和LoRA我在A100 40G报OOM，我debug看到是self.visual.encode(images)就报OOM了

same question

您好，我们是在80g  a800上进行全参数训练的。40g a800可能不支持全参数微调，对于lora可以参考这里的解决方式。https://github.com/Yuliang-Liu/Monkey/issues/64

我也是lora微调的，只训了0.15%参数，我debug看下来是VisualAttentionBlock模块每执行一次增加一点现存，导致显存过大，我在看如何优化一下

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数微调，对于lora可以参考这里的解决方式。#64

@zws-2019   您看看这样能解决吗？

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方式。#64

@zws-2019 您看看这样能解决吗？

感谢，这个地方的修改是有必要的，另外需要再改一个地方才能跑通textmonkey的训练，我正在看收敛能力来确定修改正确性

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方式。#64

@zws-2019 您看看这样能解决吗？

感谢，这个地方的修改是有必要的，另外需要再改一个地方才能跑通textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，要是有啥经验也欢迎分享一下。

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个位置才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

您训练的是Monkey还是TextMonkey？

外需要再改一个地方才能跑通textmonkey的训

@echo840 请教一下这可能是什么原因？修改hidden_states[i][a + 1 : b].data导致梯度继续回传到嵌入式层？另外请教一下代码中能否做一些小改动优化计算时间和显存占用

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个位置才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

@echo840 请教一下这可能是什么原因？修改hidden_states[i][a + 1 : b].data导致梯度继续回传到嵌入式层？另外请教一下代码中能否做一些小改动优化计算时间和显存占用呢

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还修改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

@echo840请教一下这可能是什么原因？hidden_states[i][a + 1 : b].data 导致突然继续传回嵌入式层？另外请教一下代码中能否做一些小问题优化计算时间和显着的占用呢？

当我们使用

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还修改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

@echo840请教一下这可能是什么原因？hidden_states[i][a + 1 : b].data 导致突然继续传回嵌入式层？另外请教一下代码中能否做一些小问题优化计算时间和显着的占用呢？

当我们禁用模型参数，使用lora微调时，会使用
        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

这会使能输入梯度，这时执行下面命令会报错，因为hidden_states有梯度，而images没有梯度，所以需要给hidden_states.data赋值（但是我不清楚这样做会不会有风险）
hidden_states[i][a + 1 : b] = images[idx]

另外我还改了其他地方降低显存使用
                # images = self.visual.encode(images)
                images = cp.checkpoint(self.visual.encode, images)

    if training_args.use_lora:
        for name, param in model.named_parameters():
            param.requires_grad = False
        lora_config = LoraConfig(
            r=lora_args.lora_r,
            lora_alpha=lora_args.lora_alpha,
            target_modules=lora_args.lora_target_modules,
            lora_dropout=lora_args.lora_dropout,
            bias=lora_args.lora_bias,
            task_type='CAUSAL_LM',
        )

        model = get_peft_model(model, lora_config)
        model.print_trainable_parameters()

        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

现在的问题是收敛到1.7左右就很难再收敛，测试infer效果比较差，我的finetune里样本用了很多换行，就没有学到

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还修改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

@echo840请教一下这可能是什么原因？hidden_states[i][a + 1 : b].data 导致突然继续传回嵌入式层？另外请教一下代码中能否做一些小问题优化计算时间和显着的占用呢？

当我们禁用模型参数，使用lora微调时，会使用
        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

这会使能输入梯度，这时执行下面命令会报错，因为hidden_states有梯度，而images没有梯度，所以需要给hidden_states.data赋值（但是我不清楚这样做会不会有风险）
hidden_states[i][a + 1 : b] = images[idx]

另外我还改了其他地方降低显存使用
                # images = self.visual.encode(images)
                images = cp.checkpoint(self.visual.encode, images)

    if training_args.use_lora:
        for name, param in model.named_parameters():
            param.requires_grad = False
        lora_config = LoraConfig(
            r=lora_args.lora_r,
            lora_alpha=lora_args.lora_alpha,
            target_modules=lora_args.lora_target_modules,
            lora_dropout=lora_args.lora_dropout,
            bias=lora_args.lora_bias,
            task_type='CAUSAL_LM',
        )

        model = get_peft_model(model, lora_config)
        model.print_trainable_parameters()

        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

现在的问题是收敛到1.7左右就很难再收敛，测试infer效果比较差，我的finetune里样本用了很多换行，就没有学到

感谢你的回复，我刚刚使用lora训练也遇到相同报错，由于hidden_states需要梯度，不能做原地赋值操作。但是我不清楚开启输入梯度的原因是什么。hidden_states需要梯度，但是从input_ids计算hidden_states的嵌入层却不需要梯度。也许hidden_states的梯度会传递到其他模块的参数中去，因此你直接为hidden_states.data赋值扰乱了梯度传递，导致后面的参数错误变化。另外你为什么设置模型的所有参数都不需要梯度呢？我理解应该保留四个lora参数和resampler模块需要参数。

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数参数，对于lora可以参考这里的解决方法。#64

@zws-2019您看看这样能解决吗？

谢谢，这个位置的修改是有必要的，另外需要再修改一个才能运行textmonkey的训练，我正在看收敛能力来确定修改正确性

非常感谢您的尝试，希望有啥经验也欢迎分享一下。

除了以上修改，我还修改了modeling_qwen.py中
hidden_states[i][a + 1 : b] = images[idx]
修改为
hidden_states[i][a + 1 : b].data = images[idx]

修改后可以在40G A100上训练，但是发现没有收敛，并且推理时是乱码，推理时改回modeling_qwen.py发现和原始模型推理结果相同

@echo840请教一下这可能是什么原因？hidden_states[i][a + 1 : b].data 导致突然继续传回嵌入式层？另外请教一下代码中能否做一些小问题优化计算时间和显着的占用呢？

当我们禁用模型参数，使用lora微调时，会使用
        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

这会使能输入梯度，这时执行下面命令会报错，因为hidden_states有梯度，而images没有梯度，所以需要给hidden_states.data赋值（但是我不清楚这样做会不会有风险）
hidden_states[i][a + 1 : b] = images[idx]

另外我还改了其他地方降低显存使用
                # images = self.visual.encode(images)
                images = cp.checkpoint(self.visual.encode, images)

    if training_args.use_lora:
        for name, param in model.named_parameters():
            param.requires_grad = False
        lora_config = LoraConfig(
            r=lora_args.lora_r,
            lora_alpha=lora_args.lora_alpha,
            target_modules=lora_args.lora_target_modules,
            lora_dropout=lora_args.lora_dropout,
            bias=lora_args.lora_bias,
            task_type='CAUSAL_LM',
        )

        model = get_peft_model(model, lora_config)
        model.print_trainable_parameters()

        if training_args.gradient_checkpointing:
            model.enable_input_require_grads()

现在的问题是收敛到1.7左右就很难再收敛，测试infer效果比较差，我的finetune里样本用了很多换行，就没有学到

感谢你的回复，我刚刚使用lora训练也遇到相同报错，由于hidden_states需要梯度，不能做原地赋值操作。但是我不清楚开启输入梯度的原因是什么。hidden_states需要梯度，但是从input_ids计算hidden_states的嵌入层却不需要梯度。也许hidden_states的梯度会传递到其他模块的参数中去，因此你直接为hidden_states.data赋值扰乱了梯度传递，导致后面的参数错误变化。另外你为什么设置模型的所有参数都不需要梯度呢？我理解应该保留四个lora参数和resampler模块需要参数。

我试过按照当前finetune_multitask_dialouge_doc.py的代码训练lora也是同样的问题，现在看下来是hidden_states的梯度问题，你那边有解决方案吗？

有问题 这种方法 我说过了 训练可以跑通 但是损失到了后面不减反增

您好，我们是在80g a800上进行全参数训练的。40g a800可能不支持全参数微调，对于lora可以参考这里的解决方式。#64

您好，全参数微调需要几张80g A800，batch size设置多大，我用6张A800，batchsize=1，还是OOM？

text_monkey微调代码有问题麻烦有空更新一下，显示内存占用过高

Hello, you can try our latest model MiniMonkey, which can be trained on eight 3090 GPUs.

repo: Yuliang-Liu/Monkey


text:
Aplayer 播放器并未有深色模式

Describe the bug

Reproduction
change to dark mode on a page with player
System Info
doesn't important

Used Package Manager
npm
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

aplayer 本身并没有深色模式的 CSS，你需要自行根据需要调整样式。

See https://github.com/DIYgod/APlayer/issues/46

authors: Big-Cake-jpg YunYouJun j1g5awi

repo: YunYouJun/valaxy


text:
Update doc/ADMIN.md

PR Status

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

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

!bump


text:
JavaScript

JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

Added all the JS to give the proper formatting to my webpage

repo: ZBurnell/prework-study-guide


text:
请问内置的deeplx（stranslate）或者官方的api可以使用自定义词汇表吗？

如题，如果能，请问应该怎么使用，如果不能，请适配一下

刚翻了翻官方文档，貌似官方的桌面端不支持使用词表，所以deeplx应该是不行了，但是deepl官方api是可以的，参考文档https://developers.deepl.com/docs/api-reference/translate，加个参数glossary_id就可以了，申请适配

回头看下

repo: ZGGSONG/STranslate


text:
下载源码后无法导入到eclipse

如题，我clone到本地后，导入提示找不到projects

从其他项目中复制一个.project文件放到根目录下就可以了
发自网易邮箱大师
在2017年10月25日 16:27，yanlei0624notifications@github.com 写道：
如题，我clone到本地后，导入提示找不到projects
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

复制一个.project文件是能导入了，但是其他问题来了：
1.Deployment Assembly提示“The given project is not a virtual component project”。
2.ssm-maven中的class，识别package时多出了main.java.

我电脑上没有eclipse，所以没办法模拟这个问题，但是这个项目就是普通的maven项目，应该不存在不能使用的问题。

你问题解决了吗？我也碰到这个问题，我是csdn下载的源码导入，我先是新建了ssm-demo一个web项目然后把生成的.project复制进源码里，然后再导入，进入架包也导入了，也是很多错误，谁能教教我吗？或者有没有war包我试试，谢谢大家！


text:
项目该更新了，现在都6.0版本yolov5了，作者加把劲

项目该更新了，现在都6.0版本yolov5了

yolov5一个月push这么多，普通人怎么可能跟得上更新啊，作者也要有自己的工作啊

welcome PR

welcome PR

请问我如果想在yolov5.5.0版本的基础上蒸馏，应该怎么修改呢？请问作者大大可以给个思路吗

@Hazel-Xiang 首先看一篇蒸馏的经典论文，了解一下大概的做法。
然后主要看train.py文件，和原来的对比看不通的地方。主要是改train.py就好了。

目前yolov5没什么奇怪的层，搭建出cfg的网络结构后就应该没什么大问题。之前主要是BottleneckCSP模块导致改动添加了较多地方的代码，目前该模块也换为了友好的C3模块。更新大概就是体力活和踩点小坑，这个更新时间就不定了。
welcome PR 😄

目前yolov5没什么奇怪的层，搭建出cfg的网络结构后就应该没什么大问题。之前主要是BottleneckCSP模块导致改动添加了较多地方的代码，目前该模块也换为了友好的C3模块。更新大概就是体力活和踩点小坑，这个更新时间就不定了。
welcome PR 😄

哈哈哈 期待

@futureflsl @Gumpest 更新了第六版本的剪枝了，支持更多的网络结构，也解决了多卡的问题

方便加作者的联系方式吗~

@Gumpest 可以

Wechat：18351209291

authors: Gumpest Hazel-Xiang ZJU-lishuang futureflsl mx2013713828


text:
完成截图报错：IndexError: list index out of range

当前pypi 0.1.3版本，nonebot2.0.0rc3
03-14 13:43:00 [ERROR] nonebot | Running Matcher(type='message', module=TeenStudy.utils.handle) failed.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/usr/lib/python3.9/multiprocessing/spawn.py", line 129, in _main
    return self._bootstrap(parent_sentinel)
  File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/usr/local/lib/python3.9/dist-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/dist-packages/nonebot/message.py", line 141, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File "/usr/local/lib/python3.9/dist-packages/nonebot/message.py", line 187, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.9/dist-packages/nonebot/internal/matcher/matcher.py", line 732, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.9/dist-packages/nonebot/internal/matcher/matcher.py", line 707, in simple_run
    await handler(
  File "/usr/local/lib/python3.9/dist-packages/nonebot/dependencies/__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "/usr/local/lib/python3.9/dist-packages/TeenStudy/utils/handle.py", line 34, in test_
    await end_pic.finish(message=MessageSegment.image(await get_end_pic()))
  File "/usr/local/lib/python3.9/dist-packages/TeenStudy/utils/utils.py", line 194, in get_end_pic
    bg_img = Image.open(BytesIO(backgrouds[random.randint(0, 4)]['file']))
IndexError: list index out of range

没办法通过nb或者pip安装直接使用吗

没办法通过nb或者pip安装直接使用吗

资源没能导入成功，将utils文件夹下的utils.py文件的第148行base_file_path = os.path.dirname(__file__)[:-5] + "resource\\"中的resource\\改为resource/应该能解决这个问题

authors: Umamusume-Agnes-Digital meowlitlot


text:
Digest calculation

Apparently this is required for lbp 1 & 3

fixed in 0a5037d

repo: Zaprit/HugeSpaceship


text:
RBY movesets update

Adding missing movesets that are relevant in their respective tiers

@TheImmortal or @Joimer, is this acceptable?

Yes, the new movesets are used.

authors: Guernouille Joimer Zarel

repo: Zarel/honko-damagecalc


text:
Document consensus rules from Zcash spec: 4.12 Balance (Sprout)

For each consensus rule:

check that the rule is implemented in Zebra
make sure the latest version of the rule is quoted in the docs for the code that implements it
make sure the code implements the latest version of the rule

Consensus rule
https://zips.z.cash/protocol/protocol.pdf#joinsplitbalance

See ZIP 209: Prohibit Negative Shielded Chain Value Pool Balances also
Implementation

#2381

PR: #2566

It doesn't really make sense for oxarbitrage to do two of the negative value balance rules, and me to do the other one. I'm pretty sure all 3 rules will get documented in exactly the same module. (Maybe even in the same method?)
I'm happy to pick up other tickets though.

repo: ZcashFoundation/zebra


text:
Investigate creating a Debian package for zebra

Motivation
In order to make it as easy as possible for users to install and run zebra in the most popular operating systems we might want to consider creating a Debian package for Zebra
Scope
This issue is related to research the necessary steps, infrastructure and artifacts as well as required ongoing maintenance with the end goal of reaching a decision on next steps. It is not about creating the actual package.

In order to create a Debian package for Zebra, we need to:

Locate or create Debian pancakes for all Zebra's Rust and C/C++ dependencies
Deploy a Debian package server in our production server environment
Create Debian package signing keys and put the public keys on the server
Create Debian packaging scripts in the Zebra repository
Run the whole Debian build after every release and upload the packages to the server

Step 1 might be optional because we can break some of the Debian policies when we're using our own server. (We can't use a Debian server because network upgrades are less than 3 years apart, and Debian expects stable packages to only have bug fixes during the supported lifetime of each Debian version.)
The alternative is to tell people on Debian "install Docker and use the Zebra Docker images".

I think we might want to do this after the stable release.

Some documentation on distributing software on Debian: https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html

Documentation from debian on this process: https://www.debian.org/doc/manuals/developers-reference/pkgs.html

The cargo-deb crate will likely be useful for this. You can see an example of using it with my rage crate here:

https://github.com/str4d/rage/blob/main/rage/Cargo.toml
https://github.com/str4d/rage/blob/main/.github/workflows/release.yml

@gesker we haven't decided exactly what's going to be in the package yet, so thanks for this feedback!
We're also trying to decide how urgent this ticket is, so we can schedule it. Are there specific things you can do with a Debian package that are harder with Docker?
(We already have a Docker package.)

Hey team! Please add your planning poker estimate with Zenhub @arya2 @gustavovalverde @oxarbitrage @teor2345 @upbqdn

This is potentially a very large ticket, and its scope isn't really defined yet. I suggest we investigate what's needed first, then split this ticket into multiple tickets, and estimate them.

I based my estimate on the scope in the description above:

Scope
This issue is related to research the necessary steps, infrastructure and artifacts as well as required ongoing maintenance with the end goal of reaching a decision on next steps. It is not about creating the actual package.

I based my estimate on the scope in the description above:

Scope
This issue is related to research the necessary steps, infrastructure and artifacts as well as required ongoing maintenance with the end goal of reaching a decision on next steps. It is not about creating the actual package.

Thanks for the reminder! I guess I skimmed that bit, and mainly looked at the title, which was a bit unclear to me. Previously I've seen us submit actual working PRs in response to tickets like this.
So @mpguerra what's the output of this ticket?
Is it a list of tasks, a detailed proposal, or something else?

Is it a list of tasks, a detailed proposal, or something else?

We should basically investigate and create a list of tasks and considerations similar to what you've shared here: https://github.com/ZcashFoundation/zebra/issues/6422#issuecomment-1487738572
This is part of the list (so far):
1. Choose the Packaging Tools

cargo-deb: A Rust crate that generates Debian packages from Cargo metadata.
dh-cargo: A helper tool to streamline packaging Rust programs/libraries with debhelper.

2. Debian Control Files

control: Contains package metadata like dependencies, maintainer, description, etc.
rules: Specifies commands to build, install, and clean the package.
changelog: Logs version numbers, changelists, and other details.
compat: Indicates debhelper compatibility level.

3. Binary and Library Paths

Ensure compiled binaries are installed in paths like /usr/bin/.
Shared libraries should go in paths like /usr/lib/.
Use the Filesystem Hierarchy Standard (FHS).

4. Documentation and Man Pages

Include documentation, READMEs, or man pages for users.

5. Licensing

Comply with Debian's licensing guidelines (?).

6. Versioning

Debian package version may differ from Zebra's crate version.
Understand Debian's versioning scheme.

7. Build Process

Define the build process in the rules file and use Cargo for compiling.

8. Testing

Consider running crate tests during the packaging process (?).

9. Static vs. Dynamic Linking

Rust statically links by default. Decide if this is suitable or if dynamic linking is better.

10. Configuration Files and Data

Configuration files typically go in /etc/.
Data files can be placed in /usr/share/.
Blockchain data can be stored under /var.

11. Init Scripts and System Services

Consider including init scripts or systemd service files.

13. Maintainer Scripts

Consider scripts like preinst, postinst, prerm, postrm which run before/after installation and removal.

14. Package Testing

Test the installation, removal, and any post-installation scripts on a clean Debian system.

16. Repository Considerations

Consider creating Release and InRelease files and signing packages.

If we're running our own debian server, these steps might be optional:

5. Licensing
* Comply with Debian's licensing guidelines (?).

6. Versioning
* Debian package version may differ from Zebra's crate version.
* Understand Debian's versioning scheme.

...

9. Static vs. Dynamic Linking
* Rust statically links by default. Decide if this is suitable or if dynamic linking is better.

I don't think we can use Debian's servers, because we make an incompatible upgrade every 6-12 months, but Debian releases require software to work and be feature-stable for at least 3 years. (The Debian release lifetime.)
It might be possible to use Debian's testing server, and perpetually be in testing, I'm not sure. And the testing Debian release might not meet our stability or Debian release compatibility goals.
What Debian releases do we intend to support?

Perhaps Debian Backports would be suitable?

I think the Backports stable version policy would prevent us from having Zebra in Backports:

To guarantee a clean upgrade path from one Debian stable release to the next, packages in Backports cannot be newer than the packages destined for the next Debian stable release; this is a matter of Backports Policy.

I also think it might be confusing to have a package in stable that doesn't work, or a package in testing that never graduates to stable.
And the stability guarantees of next-stable might make it difficult for us to reliably build the package:
https://wiki.debian.org/DebianTesting
I think our best bet here is to do what ECC does with their Debian packages, and run their own server.

I think we can close this one once we have a good first list in #7424


text:
Custom Loading screen

There's a LayerType CUILayer::EUILayerType::LoadingScreen. Maybe we can construct a nice Manialink as loadingscreen in our color scheme.
Layer would have to be attached at map end, because at that time all layers are destroyed.
Loading screen should have have a loading indicator (like the current spinning wheel) so people know that their game didn't freeze.
I'd be ok with using a custom image there, but then it would need to be hosted in a proper place, wher it always is accessible..

Couldn't get this working. Maybe it's not possible anymore? If you wanna give it a shot, feel free.

It should definitely be possible, since Royal has its own loading screen (unless that's hardcoded into the game, which I doubt). Won't be an easy task to figure out how the layer works or if it's even the right layer to use.

Royal doesn't seem to use loading screen layers managed by the mode, but instead Trackmania2020 has a loading screen system which is handled by a ManiaApp which is always active. That ManiaApp has access to the loading screen stuff and replaces the background images. But we don't have access to that ManiaApp.

If that's the case, then there's nothing to do for this apart from waiting till it gets a response. Like you said, if we don't have access to the ManiaApp then there's no way we can change its loading screen.

repo: Ze-Rax/TrackmaniaFlagRush


text:
Setting the audio output to specific card?

Hi!
I've just learnt of this and am interested in using it to play youtube videos, but I can't figure out where I can set the output device and I can't find the documentation. If you could point me in the right direction I should hopefully be able to get it from there!
Thanks,

Did you manage to do this with vlc in command line? If yes, just pass the same arguments to your vlc control before it has finished being initialized.

authors: JackRyder jeremyVignelles


text:
🛑 Prod Yandex service health auth check is down

In 81a097f, Prod Yandex service health auth check (https://prod.zebr-a.com/yandex/health/authCheck) was down:

HTTP code: 400
Response time: 513 ms

Resolved: Prod Yandex service health auth check is back up in 31e4ef9.

repo: Zebrainy/upptime


text:
🛑 Game Server Proxy (prod) is down

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

HTTP code: 500
Response time: 6428 ms

Resolved: Game Server Proxy (prod) is back up in ba80f55 after 5 minutes.


text:
🛑 Dev Client init service health is down

In 46c405c, Dev Client init service health (http://dev.zebr-a.com/client-init-service/v2/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dev Client init service health is back up in 90d810c after 3 minutes.


text:
switch hueLabsScenes

If I change the state in a HueLabsScene nothing happens. I thourd if I change the action/lastAction/on state to true or false is should switch the light on or of. But nothing happens.
If I activate the scene in the hue app this state changes automatically.

So wie es aussie geht es hier auch in Deutsch.
Ich habe hier noch etwas herumprobiert und festgestellt, dass der Hue-extended Adapter die Werte für das aktivieren einer HueLabsScenes wohl nicht auf die Hue Bridge schreibt. Daher ist es vielleicht auch ein Featurewunsch. Ist diese Funktionalität vorgesehen?

Welche Wert werden nicht auf die Bridge geschrieben?
Die Szene selbst wird - zumindest bei mir - getriggert?

Der Datenpunkt .action.on (z. B. hue-extended.0.scenes.HueLabsScenes.living_scenes.action.on`) muss getriggert werden.

Ich triggere den action.on punkt über bloggly mit aktuealisiere. Ich setze den Wert auf wahr.
Der Wert wird auch bei den Objekten geändert, aber auf der Bridge nicht.

Stell mal bitte die Instanz auf Debug und poste das Log, wenn du den Datenpunkt änderst.

Und nur zur Sicherheit: die direkte Änderung ohne dein Skript geht auch nicht?

Wenn ich den Wert manuell ändere also true oder false reinschreibe wird das auch nicht übernommen. Wie kann ich es auf debug setzen?

Das steht nach dem ausführen des skriptes bei den Objekten

Aber die Lampen sind nicht an und in der Bridge ist der wwer auch nicht aktualisiert.

Unter Instanzen -> Expertenansicht und dann gibt es dort ein Dropdown. Dort kann debug eingestellt werden.

Welche Version des Adapters hast du im Einsatz?

Bitte mal die v2.0.1 probieren. Habe vergessen, die ins latest zu schubsen. Einfach von Github installieren.

Die habe ich schon drauf...

Die Debugausgabe schaffe ich erst morgen. Reicht es Hue extended auf debug zu ändern?

Jo

so viele Infos sehen im Log nicht

Ich habe gerade festgestellt, dass wenn ich den Wert manuell ändere (nicht true oder false reinschreibe, sondern darau klicke), dann funktioniert es. Nur über das Script scheinbar nicht.

Es Funktionier!
Ich habe folgendes gemacht:
Ich habe https eingeschaltet. Danach dann der Erfolg von oben beschrieben.
Dann habe ich noch bei dem Blockly aus aktualisiere steuere gemacht.
HTTPS war die Lösung. Danke für die Unterstützung

authors: Zefau mcbirne


text:
Add a wait parameter (#7)

#7

LGTM

authors: fabienjuif frinyvonnick

repo: ZenNantes/react-loader


text:
Can't login to Arizen Wallet

For the last few days I am unable to login to Arizen Wallet
I enter my username and pw and nothing happens just sits on login screen.
The user name and PW are correct as I had written them down when I created the wallet.
Tried to restore from back up files but that doesn't do anything
I have uninstalled and reinstalled several times restarted windows but nothing seems to work.
Any help would be appreciated.
Thanks
.

Hey there
What version of the wallet are you using, I am assuming its v1.2.4.
Can you confirm?

Yes v1.2.4

I think it may be better to move this to our helpdesk as we may need to dig into logs etc and we can more easily link you to any relevant documentation.
I can either open a ticket for you but I would need your email address for that, or you can just raise a ticket directly with no sign up required at the above link and I will look out for it. One of the helpdesk agents will be assigned etc.

OK thanks I will open a ticket

Many thanks
Im looking out for it

just responded to your ticket, one of the support team will be in touch with you.

Can I close this Github Issue out now as we have moved to the Helpdesk?

Yes go ahead and close it.
Thanks
On Thu, Mar 12, 2020 at 5:21 PM zennermac notifications@github.com wrote:

Can I close this Github Issue out now as we have moved to the Helpdesk?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ZencashOfficial/arizen/issues/431#issuecomment-598423895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMV3ELJ4JN7KVS5RLBBUXWTRHFG7NANCNFSM4LGVCS5Q
.

Thanks zennermac
On Thu, Mar 12, 2020 at 5:25 PM zennermac notifications@github.com wrote:

Closed #431 https://github.com/ZencashOfficial/arizen/issues/431.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ZencashOfficial/arizen/issues/431#event-3124562076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMV3ELPUTTA52YGW64NRXPLRHFHLXANCNFSM4LGVCS5Q
.

repo: ZencashOfficial/arizen


text:
Add About and Privacy static pages

This adds /about and /privacy, but does not add any links to other pages. These pages will probably be linked to from the homepage, after it is redesigned.

Text was reviewed by @ograycode

 Build essential static pages

repo: ZeroCater/linty


text:
Make pay_url accept a block like link_to

Привет! I suggest to make pay_url accept block, just like link_to, to be able to construct link content in a more convenient way (template using haml):
= pay_url @car_wash.payments.first.id, @car_wash.payments.first.amount do
  .pay-btn
    %div Оплатить с помощью
    %div= image_tag 'robokassa.jpg', size: '150x25'

Closed in favor of https://github.com/ZeroOneStudio/rubykassa/commit/38c7f6786c7ab99009766806f54b7b69740ff2f8 as we don't need the routes to be commented out https://github.com/mib32/rubykassa/blob/master/config/routes.rb

:+1:

repo: ZeroOneStudio/rubykassa


text:
经济学相关书籍

rt

曼昆

[x] 微观经济学
[x] 宏观经济学

斯密

[x] 国富论

弗里德曼

[x] 自由的选择

哈耶克

[ ] 通往奴役之路

萨缪尔森

[ ] 经济学

马克思

[ ] 资本论

凯恩斯

[ ] 就业、利息和货币通论


text:
mask result with white line problem.

During fine-tuning， using the test.sh script to evaluate models.  The mask result always has some white line. Does this result meet expectations?  Do you have any intuition to solve this problem?

We didn't see this kind of problem in previous training.
You can have a check on your training data. If it is hard to find the reason, try training in some standard benchmarks (e.g., DIS5K) with only 50 epochs to have quick feedback.


text:
StopIteration: Caught StopIteration in replica 0 on device 0.

Hello,
I have come across the following error when trying to run this model on Bridges2 using 8 GPU. I have set up a fresh conda environment as detailed in the README.md.
StopIteration: Caught StopIteration in replica 0 on device 0.
Original Traceback (most recent call last):
  File "/jet/home/ahabib/.conda/envs/dna/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 64, in _worker
    output = module(*input, **kwargs)
  File "/jet/home/ahabib/.conda/envs/dna/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/jet/home/ahabib/.cache/huggingface/modules/transformers_modules/zhihan1996/DNABERT-2-117M/5fd206e1a13cee3ef4a608677312175eb6f8143d/bert_layers.py", line 862, in forward
    outputs = self.bert(
  File "/jet/home/ahabib/.conda/envs/dna/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/jet/home/ahabib/.cache/huggingface/modules/transformers_modules/zhihan1996/DNABERT-2-117M/5fd206e1a13cee3ef4a608677312175eb6f8143d/bert_layers.py", line 608, in forward
    encoder_outputs = self.encoder(
  File "/jet/home/ahabib/.conda/envs/dna/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/jet/home/ahabib/.cache/huggingface/modules/transformers_modules/zhihan1996/DNABERT-2-117M/5fd206e1a13cee3ef4a608677312175eb6f8143d/bert_layers.py", line 416, in forward
    dtype=next(self.parameters()).dtype)  # fp16 compatibility
StopIteration

  0%|          | 0/5721 [00:10<?, ?it/s]++ date '+%Y-%m-%d %T'

I have attached my full output and batch script below! Thank you!
output.txt
train.txt

Hey,
Can you try to run the model in the distributed mode with torchrun --nproc-per-node=8 xxx.py instead of using python xxx.py?

Hello! Apologies for the late response, I've been travelling. I tried running in distributed mode but ran into this output error instead (file linked below).
torchrun-output.txt
Do you think this could possibly be an issue with my environment? I'm using the conda environment that I built using the requirements file from your github and some additional packages (like pandas, since the output indicated it was missing on my first couple runs). I have following installed:
# packages in environment:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
_openmp_mutex             5.1                       1_gnu
accelerate                0.20.3                   pypi_0    pypi
aiohttp                   3.8.4                    pypi_0    pypi
aiosignal                 1.3.1                    pypi_0    pypi
antlr4-python3-runtime    4.9.3                    pypi_0    pypi
async-timeout             4.0.2                    pypi_0    pypi
attrs                     23.1.0                   pypi_0    pypi
biopython                 1.78             py38h7f8727e_0
blas                      1.0                         mkl
bottleneck                1.3.5            py38h7deecbd_0
ca-certificates           2023.05.30           h06a4308_0
certifi                   2023.5.7                 pypi_0    pypi
charset-normalizer        3.2.0                    pypi_0    pypi
cmake                     3.26.4                   pypi_0    pypi
datasets                  2.13.1                   pypi_0    pypi
dill                      0.3.6                    pypi_0    pypi
einops                    0.6.1                    pypi_0    pypi
evaluate                  0.4.0                    pypi_0    pypi
filelock                  3.12.2                   pypi_0    pypi
frozenlist                1.3.3                    pypi_0    pypi
fsspec                    2023.6.0                 pypi_0    pypi
huggingface-hub           0.16.4                   pypi_0    pypi
idna                      3.4                      pypi_0    pypi
intel-openmp              2023.1.0         hdb19cb5_46305
jinja2                    3.1.2                    pypi_0    pypi
joblib                    1.2.0            py38h06a4308_0
ld_impl_linux-64          2.38                 h1181459_1
libffi                    3.4.4                h6a678d5_0
libgcc-ng                 11.2.0               h1234567_1
libgfortran-ng            11.2.0               h00389a5_1
libgfortran5              11.2.0               h1234567_1
libgomp                   11.2.0               h1234567_1
libstdcxx-ng              11.2.0               h1234567_1
lit                       16.0.6                   pypi_0    pypi
markupsafe                2.1.3                    pypi_0    pypi
mkl                       2023.1.0         h6d00ec8_46342
mkl-service               2.4.0            py38h5eee18b_1
mkl_fft                   1.3.6            py38h417a72b_1
mkl_random                1.2.2            py38h417a72b_1
mpmath                    1.3.0                    pypi_0    pypi
multidict                 6.0.4                    pypi_0    pypi
multiprocess              0.70.14                  pypi_0    pypi
ncurses                   6.4                  h6a678d5_0
networkx                  3.1                      pypi_0    pypi
numexpr                   2.8.4            py38hc78ab66_1
numpy                     1.24.4                   pypi_0    pypi
numpy-base                1.24.3           py38h060ed82_1
nvidia-cublas-cu11        11.10.3.66               pypi_0    pypi
nvidia-cuda-cupti-cu11    11.7.101                 pypi_0    pypi
nvidia-cuda-nvrtc-cu11    11.7.99                  pypi_0    pypi
nvidia-cuda-runtime-cu11  11.7.99                  pypi_0    pypi
nvidia-cudnn-cu11         8.5.0.96                 pypi_0    pypi
nvidia-cufft-cu11         10.9.0.58                pypi_0    pypi
nvidia-curand-cu11        10.2.10.91               pypi_0    pypi
nvidia-cusolver-cu11      11.4.0.1                 pypi_0    pypi
nvidia-cusparse-cu11      11.7.4.91                pypi_0    pypi
nvidia-nccl-cu11          2.14.3                   pypi_0    pypi
nvidia-nvtx-cu11          11.7.91                  pypi_0    pypi
omegaconf                 2.3.0                    pypi_0    pypi
openssl                   3.0.9                h7f8727e_0
packaging                 23.1                     pypi_0    pypi
pandas                    2.0.3                    pypi_0    pypi
peft                      0.3.0                    pypi_0    pypi
pip                       23.1.2           py38h06a4308_0
psutil                    5.9.5                    pypi_0    pypi
pyarrow                   12.0.1                   pypi_0    pypi
python                    3.8.17               h955ad1f_0
python-dateutil           2.8.2              pyhd3eb1b0_0
pytz                      2023.3                   pypi_0    pypi
pyyaml                    6.0                      pypi_0    pypi
readline                  8.2                  h5eee18b_0
regex                     2023.6.3                 pypi_0    pypi
requests                  2.31.0                   pypi_0    pypi
responses                 0.18.0                   pypi_0    pypi
safetensors               0.3.1                    pypi_0    pypi
scikit-learn              1.2.2            py38h6a678d5_1
scipy                     1.9.3            py38hf6e8229_2
setuptools                67.8.0           py38h06a4308_0
six                       1.16.0             pyhd3eb1b0_1
sqlite                    3.41.2               h5eee18b_0
sympy                     1.12                     pypi_0    pypi
tbb                       2021.8.0             hdb19cb5_0
threadpoolctl             2.2.0              pyh0d69192_0
tk                        8.6.12               h1ccaba5_0
tokenizers                0.13.3                   pypi_0    pypi
torch                     2.0.1                    pypi_0    pypi
tqdm                      4.65.0                   pypi_0    pypi
transformers              4.30.2                   pypi_0    pypi
triton                    2.0.0                    pypi_0    pypi
typing-extensions         4.7.1                    pypi_0    pypi
tzdata                    2023.3                   pypi_0    pypi
urllib3                   2.0.3                    pypi_0    pypi
wheel                     0.38.4           py38h06a4308_0
xxhash                    3.2.0                    pypi_0    pypi
xz                        5.4.2                h5eee18b_0
yarl                      1.9.2                    pypi_0    pypi
zlib                      1.2.13               h5eee18b_0

Any ideas here? getting the same error

authors: Zhihan1996 anihab lucaskbobadilla


text:
zoom

How to add zoom feature in this library

currently not support

authors: ZhipingYang samosys-ror

repo: ZhipingYang/XYChart


text:
[Potential Bug] Loop login  with wrong captcha may cause account to be locked

Using wrong captcha  to login too much  times  returns HTTP 401 Unauthorized every time , which will cause account to be locked(in my case in whpu). I think we can reduce MAX_TRY_TIMES  and prompt to api's user like:
验证码识别多次尝试失败，手动登录后可避免 API 的验证码识别过程

source code reference

关于验证码可以说明地方是：

我没有针对性的训练tesseract，所以识别的准确率不算高，只有60%-75%，所以采取的临时策略是将retry的次数设置的比较大，其实我测试过，20次相对合理，既能够保证准确率又能够有效的保证接口的响应效率
如果你保证你提供的用户名和密码是正确的，初试状态其实根本不会进入到验证码识别的流程，三次输错用户名和密码之后才会出现验证码，这点我在application.yml里面写过，防君子不防小人

优化的方向是：

考虑自己训练一个模型来识别验证码以保证准确率在90%以上
或者偷懒的做法，直接给提示，手动登陆一次便又恢复到开始时不需要验证码的状态

嗯，主要是帮别人签到，有人会改了密码忘记告诉我：然后我的服务器默认重试一遍，就会造成这种问题了

关于验证码可以说明地方是：

我没有针对性的训练tesseract，所以识别的准确率不算高，只有60%-75%，所以采取的临时策略是将retry的次数设置的比较大，其实我测试过，20次相对合理，既能够保证准确率又能够有效的保证接口的响应效率
如果你保证你提供的用户名和密码是正确的，初试状态其实根本不会进入到验证码识别的流程，三次输错用户名和密码之后才会出现验证码，这点我在application.yml里面写过，防君子不防小人

优化的方向是：

考虑自己训练一个模型来识别验证码以保证准确率在90%以上
或者偷懒的做法，直接给提示，手动登陆一次便又恢复到开始时不需要验证码的状态

优化这边还可以在密码错误的时候不 throw exception , 而是作为 json 提示返回，这样在调用 api 时就可以加入相应异常处理了

Maybe you should read README.md more carefully

对不起，大意了。才看到 这里 ，大佬考虑周到。偷懒提示用户确实可以考虑下，因为还有那些自己部署的用户，tesseract 训练包又会添加部署麻烦程度。

authors: ZimoLoveShuang beetcb

repo: ZimoLoveShuang/wisedu-unified-login-api