Code Monkey home page Code Monkey logo

Comments (9)

mnagaoglu avatar mnagaoglu commented on July 25, 2024

from revas.

Josster avatar Josster commented on July 25, 2024

It is unclear I am investigating. The skipped video, when ran again through ReVAS get normally analysed...
Some stat so far: Number of video Actually analysed/Total Number per folder
ail_os 26/27
4/12 (!)
4/18
5/6
5/6
21/24
8/9
4/9

Here is a logs from jxl on 3 folders
C:\Users\spencer\Google Drive\SELAB code\Joss\Fixation_letters\bugs
21/24=>3 videos skipped
8/9 =>1 skipped
4/9 => 5 [skipped]

from revas.

mnagaoglu avatar mnagaoglu commented on July 25, 2024

from revas.

Josster avatar Josster commented on July 25, 2024

ok, I isolated two Errors:
Error1
Error while processing E:\bxh_os\VA Fix Expt\10Deg Field\2_20_2015_13_41\bxh_os_11_160_dwt_nostim_gamscaled_bandfilt.avi. Proceeding to next video.) Undefined function or variable 'beginNaNs'. CoarseRef(270) < ExecuteModules(143) < make_general_channel/channel_general(929) < remoteParallelFunction(38).

it is probably because we might read a video not starting nor Ending with NaNs.
hence the variable beginNaNs could be beginNaNs=[];
so in CoarseRef.m, the condition in line 270
if frameNumber < (1 + beginNaNs) || any(badFrames == frameNumber)
should be rewritten by
if isempty(beginNaNs) if frameNumber < (1 ) || any(badFrames == frameNumber) ... else if frameNumber < (1 + beginNaNs) || any(badFrames == frameNumber) ....

==> I will correct this

from revas.

Josster avatar Josster commented on July 25, 2024

Error 2
Error while processing E:\jxl_os\VA Fix Expt\10Deg\Set III\jxl_os_4_dwt_nostim_gamscaled_bandfilt.avi. Proceeding to next video.) Reference to non-existent field 'stabilizeVideo'. MakeMontage(288) < FineRef(98) < ExecuteModules(169) < make_general_channel/channel_general(929) < remoteParallelFunction(38).

=>Error 2 solved by Mehmet and Joss

from revas.

Josster avatar Josster commented on July 25, 2024

Update about Error 1: bug with 'beginNaNs' in CoarseRef
The bug style exist in the GUI mode (both with parallelisation or NOT), but I cannot reproduce it in command line, by putting a breakpoint on the line 270 or adding this line and putting a breakpoint in it

from revas.

Josster avatar Josster commented on July 25, 2024

so here is my temporary fix before line 270 in CoarseRef.m :
if ~exist('beginNaNs','var')
beginNaNs=0;
end
if ~exist('beginNaNs','var')
endNaNs=0;
end

from revas.

mnagaoglu avatar mnagaoglu commented on July 25, 2024

What's the status on this issue? Did you temporary fix resolve the issue? If so, we can make it a temporary one.

By the way, I think the second if statement should be as follows, right? @Josster

if ~exist('endNaNs','var')
      endNaNs=0;
end

from revas.

mnagaoglu avatar mnagaoglu commented on July 25, 2024

I solved the issue presumably in a more robust way by combining your method with also checking the value of beingNaNs and endNaNs when they do exist. Here it how it looks like:

try
        endNaNs = max(endNaNs1, endNaNs2);
        beginNaNs = max(beginNaNs1, beginNaNs2);
        if isempty(beginNaNs)
            beginNaNs = 0;
        end
        if isempty(endNaNs)
            beginNaNs = 0;
        end
    catch
        % just in case 
        if ~exist('beginNaNs','var')
              beginNaNs = 0;
        end
        if ~exist('endNaNs','var')
              endNaNs = 0;
        end
    end

Here is the link to the revision

from revas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.