Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st August 2021, 12:36 | #42 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Code:
ColorBars(width=640, height=480, pixel_type="yv12") LoadPlugin("BM3DCPU_AVS.dll") ConvertBits(bits=32) BM3D_cpu(sigma=0.5, radius=2) BM3D_VAggregate(radius=2) ConvertBits(8) I have a question about BM3D_VAggregate, it's cpu only? and seems it's Duplicate in both cpu and cuda dlls and that seems not ok
__________________
See My Avisynth Stuff |
1st August 2021, 13:20 | #43 | Link | |
Registered User
Join Date: Jan 2016
Posts: 162
|
Quote:
|
|
3rd August 2021, 02:44 | #50 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Ahh gotcha, I guess that explains this error in AVSMeter:
Code:
Exception: 0xC000001D [STATUS_ILLEGAL_INSTRUCTION] Module: BM3DCPU_AVS.dll Address: 0x000007FEC45204E6 Last edited by Reel.Deel; 3rd August 2021 at 03:26. Reason: typo |
5th August 2021, 20:24 | #51 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
I am having AVS+ exception error when using test2 on the following script:
SetMemoryMax() SetFilterMTMode("DEFAULT_MT_MODE", 2) LoadPlugin("D:\Eseguibili\Media\DGDecNV\DGDecodeNV.dll") DGSource("F:\In\1_33 Grosso guaio a Chinatown\grosso.dgi",ct=132,cb=132,cl=0,cr=0) ConvertBits(bits=32) BM3D_cuda(sigma=0.5, radius=2) BM3D_VAggregate(radius=2) ConvertBits(16) Prefetch(6) I am using a SandyBridge with no AVX2 but it should give no error with the CUDA version. Am I doing something wrong?
__________________
@turment on Telegram |
5th August 2021, 20:39 | #52 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
@WolframRhodium Since the first test version worked on the gpu only, would it be possible to add a parameter to force gpu processing only? For those that do not have avx2. |
|
5th August 2021, 20:41 | #53 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
I think it would be easier to provide 2 versions as every script author should otherwise check if cpu supports avx2 and I don't know if there is such capability in AVS+.
__________________
@turment on Telegram |
5th August 2021, 23:41 | #54 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Quote:
Of course BM3D_VAggregate() move to BM3DCPU in test2, try delete BM3D_VAggregate() and check script again |
|
6th August 2021, 10:30 | #56 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
How can you run BM3D without aggregation?
__________________
@turment on Telegram |
|
6th August 2021, 13:34 | #59 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
Now, I have to understand which is better between this and KNLMeansCL...
__________________
@turment on Telegram |
|
9th August 2021, 08:35 | #60 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Question, are arrays allowed? I took a peek at the source code (line 429) and it made me think that arrays are allowed just like the VS version. When I set sigma to [0.5, 0.0, 0.5] it sets the U plane to 255, if I use [0.5, 0.0, 0.0] it sets both U/V to 255. If I use [0.0,0.5,0.5] it sets the Y plane to 255. So I guess that using an array does work, I just don't know if setting sigma to 0 should behave that way. |
|
|
|