#๐Ÿ”’ Same input works here and gives error there.

18 messages ยท Page 1 of 1 (latest)

grand cipherBOT
#

@thorny tendon

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

muted siren
#

!paste use our pastebin to share code

grand cipherBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

muted siren
#

I've snagged the text you wrote:

Context: simulating realtime transcription using for loop and time.sleep()

Scenario: When a chunk is chunked it get appended to queue (tried transcripting the chunk there and it works) However the monitoring thread (thread that keeps transcripting chunks from queue) shows an error from whisper model. I checked the value of chunk before adding it to queue and right before transcripting and it shows the same value. I don't understand why it gives error !

error: Error processing: Expected key.size(1) == value.size(1) to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)
clever stag
muted siren
clever stag
#

Ah. That would be handy for helpers. It seems like lots of posts get nuked because they tried to attach a file.

thorny tendon
#

why did you delete it ? sorry i don't get it

muted siren
#

Instead you should use our pastebin, linked above

thorny tendon
#

yes, i uploaded two images of the code and pasted the whole code. SO should I post it again with code pasted using pastebin ? wwhat about the images ?

muted siren
#

The images you can post here directly, it's just the code that needs to be put in the pastebin

thorny tendon
#

alright i pasted it now what ? i download the file ? I don't really understand this tool

muted siren
#

For the pastebin, press ctrl+s. The URL should update and then you can share the URL here

thorny tendon
muted siren
#

yup, perfect

grand cipherBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.