Announcement

Collapse
No announcement yet.

Network Standalone Denoiser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Network Standalone Denoiser

    For denoising image sequences for animation, getting the render nodes involved would make it faster. Also, if the standalone denoiser could be made into a GUI, where the input file can be selected through a windows "Open File" dialog, and setting the swtiches in a GUI, would be cool too...maybe specifying different output file names as well...just some thoughts. TIA

  • #2
    It's possible to make a backburner or a deadline job to denoise the frames, depending on what you are using. We could probably extend Lele's script to submit a Backburner job and bundle it with V-Ray.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Very cool. What would you need to know as far as what I am using? Also, when you say it is possible, does that mean for me or for you guys writing the code...I could take a look at Lele's script and see what I can do. I'm not that great of a programmer...if it's too complex, it might be over my head. Could you tell me what Lele script you were referring to? TIA

      Comment


      • #4
        Btw this might help http://dabarti.com/vfx/using-v-ray-d...nd-to-scripts/

        Best,
        Blago.
        V-Ray fan.
        Looking busy around GPUs ...
        RTX ON

        Comment


        • #5
          Cool...thank you.

          Comment


          • #6
            OK, I got it all to work but I had to remove the switch they added
            -frames=%%%tn
            to get the SA denoiser to launch. However, each computer (ws and node) is doing all the frames, instead of ws getting a set of frames, and node1 getting a different set, etc.

            I don't understand what variables they are using with the above switch and if this is causing the issue.

            EDIT:OK, I added that switch back in, and now each node (ws included) is getting a block of different tasks, BUT, the tasks are not denoising, the entire job ends in about 5 seconds saying complete in que monitor...there are no denoised files in the folder either.

            EDIT: OK, in watching what's outputted in the server.exe window, the files are not being read or written...

            EDIT: OK, I figured out what -frames=%%%tn does, %tn is a fill in token for cmdjob task number of the assigned task...still can't figure out why the files are not getting read or written...I'm getting no error messages.
            Last edited by biochemical_animations; 12-01-2017, 01:11 PM.

            Comment


            • #7
              Still struggling with this...here is an excerpt from server.exe

              2017/01/12 12:49:23 INF Receiving new job from 192.168.0.10
              2017/01/12 12:49:23 INF Job 'Flicker_Fix_NoScrews' received and ready
              2017/01/12 12:49:23 INF Launching 'Command Line Tool'
              2017/01/12 12:49:23 INF New task assigned: 3
              2017/01/12 12:49:24 INF [ServerMessage]ProcessStarted processId=5224
              2017/01/12 12:49:24 INF Cmdjob adapter: V-Ray Denoiser tool for denoising still images and image sequences.

              2017/01/12 12:49:24 INF Cmdjob adapter: Copyright (C) 2016 by Chaos Group Ltd. All rights reserved.

              2017/01/12 12:49:24 INF Cmdjob adapter: Build from Nov 22 2016

              2017/01/12 12:49:24 INF Cmdjob adapter:

              2017/01/12 12:49:24 INF Cmdjob adapter: Using radius 10, strength 1 and threshold 0.001

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 0: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 1: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: Denoising 146 file(s), blending 3 frame(s).

              2017/01/12 12:49:24 INF Block of 1 task(s) completed
              2017/01/12 12:49:24 INF New task assigned: 5
              2017/01/12 12:49:24 INF [ServerMessage]ProcessStarted processId=1944
              2017/01/12 12:49:24 INF Cmdjob adapter: V-Ray Denoiser tool for denoising still images and image sequences.

              2017/01/12 12:49:24 INF Cmdjob adapter: Copyright (C) 2016 by Chaos Group Ltd. All rights reserved.

              2017/01/12 12:49:24 INF Cmdjob adapter: Build from Nov 22 2016

              2017/01/12 12:49:24 INF Cmdjob adapter:

              2017/01/12 12:49:24 INF Cmdjob adapter: Using radius 10, strength 1 and threshold 0.001

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 0: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 1: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: Denoising 146 file(s), blending 3 frame(s).

              2017/01/12 12:49:24 INF Block of 1 task(s) completed
              2017/01/12 12:49:24 INF New task assigned: 9
              2017/01/12 12:49:24 INF [ServerMessage]ProcessStarted processId=2908
              2017/01/12 12:49:24 INF Cmdjob adapter: V-Ray Denoiser tool for denoising still images and image sequences.

              2017/01/12 12:49:24 INF Cmdjob adapter: Copyright (C) 2016 by Chaos Group Ltd. All rights reserved.

              2017/01/12 12:49:24 INF Cmdjob adapter: Build from Nov 22 2016

              2017/01/12 12:49:24 INF Cmdjob adapter:

              2017/01/12 12:49:24 INF Cmdjob adapter: Using radius 10, strength 1 and threshold 0.001

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 0: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Using device 1: GeForce GTX 980 Ti

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: Driver version 376.19

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: VDenoise: OpenCL compiled successfuly

              2017/01/12 12:49:24 INF Cmdjob adapter: Denoising 146 file(s), blending 3 frame(s).

              2017/01/12 12:49:24 INF Block of 1 task(s) completed
              2017/01/12 12:49:24 INF New block of 59 tasks assigned

              You can see the files are not being read or written

              Comment


              • #8
                I reckon Chaos should just do a proper GUI.... support the tool properly eh?
                http://www.jd3d.co.uk - Vray Mentor

                Comment


                • #9
                  Yeah. I feel like I'm very close...

                  when I remove the parameter -frames=%%%tn

                  it works, but all nodes do all frames

                  when I have this parameter in, I get the above no file read or written.

                  I'm guessing the -frames is having trouble interpreting what the tn token is giving. I wonder if there is a way to print out what the tn value is...or I'm trying to understand this line:

                  -frames=b0[-e0[,s0]]{;bn[-en[,sn]]} - specify the frames and/or frame
                  intervals to process. bX is the start frame, eX is the end frame,
                  and sX is the frame increment. If not specified, all frames in the
                  sequence are processed.

                  Comment


                  • #10
                    Originally posted by architectureinmotion View Post
                    I reckon Chaos should just do a proper GUI.... support the tool properly eh?
                    I'm not sure we want to officially support a Backburner workflow. Some of the more advanced users have gotten it to work but generally it requires some expert knowledge simply because of the way Backburner works. Lele did it for his script and eventually gave up because most users would repeatedly fail to get it to work and there is very little that we can do about it.

                    Best regards,
                    Vlado
                    I only act like I know everything, Rogers.

                    Comment


                    • #11
                      Originally posted by vlado View Post
                      I'm not sure we want to officially support a Backburner workflow. Some of the more advanced users have gotten it to work but generally it requires some expert knowledge simply because of the way Backburner works. Lele did it for his script and eventually gave up because most users would repeatedly fail to get it to work and there is very little that we can do about it.

                      Best regards,
                      Vlado
                      I understand...I probably would have given up by now if it weren't for the fact that it will save me time in the future if I can get it to work.

                      Comment


                      • #12
                        the problem is one hand of of very simple solution, and on the other, the solution is not enforceable.
                        Namely, this stuff works properly only within a pipeline-type set of naming rules: ANY, provided it be one or two types.
                        For example, being certain of having filenames of the type "customFilename_with_noSpaces.####.exr" would make the job infinitely easier.
                        Yet, the script i prepared had to parse and make sense of filenames, and for every other user, the shape of that changed.
                        More than half the code in the script is trying to avoid traps and figure out relevant data from an arbitrary (to all intents and purposes) sequence of characters.

                        The instructions DID specify the filename format, and yet i got reports of mistakes down to specifically arbitrary, and a bit odd, file naming situations.
                        I may look into enforcing a file input filter but i am not sure it's ppossible at all, nor that it would solve a thing (if, for example, the input dialog hid all files non conforming to the naming mask. cue support requests.).

                        The existence of a stand alone exe file isn't out of laziness, is to allow flexibility: once one knows the rules under which one's jobs are being done, one can use that tool to do jobs without UI, with any valid method under one's OS.
                        Lele
                        Trouble Stirrer in RnD @ Chaos
                        ----------------------
                        emanuele.lecchi@chaos.com

                        Disclaimer:
                        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                        Comment


                        • #13
                          Originally posted by ^Lele^ View Post
                          More than half the code in the script is trying to avoid traps and figure out relevant data from an arbitrary (to all intents and purposes) sequence of characters.
                          That's why I didn't become a programmer...

                          Comment


                          • #14
                            I think I'm getting closer...

                            I sent the file to other script at the link Blago gave...the one without BB. I got that one to work before...but when I added this parameter:

                            -frames=2

                            I get the same output as in the server.exe...so I think the problem lies here...

                            Comment


                            • #15
                              OK, getting closer...I figured out what the -frames=b0[-e0[,s0]]{;bn[-en[,sn]]} does.

                              In my case, I was testing a sequence from frame 3295 to 3440

                              so if I want to do frames 3295-3300, I would enter -frames=3295-3300

                              if I want to do increments like every second frame, -frames=3295-3300,2

                              this worked...simple right...I feel dumb.

                              anyway, I think what is going on with the %%tn token from backburner is it is imputting the task number, like 0, 1, 2, 3 and the -frames parameter is looking for the number from the file name at ????.

                              So I have to figure out how to get this to work with the %tn token. Anyone have an idea? Something like adding the task number to the frame number, or putting tn in a variable that adds 3295 (start frame in my case) to whatever task is current.
                              Last edited by biochemical_animations; 12-01-2017, 03:10 PM.

                              Comment

                              Working...
                              X