Skip to content

Potential graph corruption at solve 2 resulting three types of error messages in matlab_export_*.log #42

Description

@lizimai

Hi! I wonder if anyone could help me fix a problem when running antrax on hpc. This is a problem that I encountered when running a big continuous experiment (~288 videos, each contains 6000 frames) on a cluster managed by SLURM.

Although all the previous steps may not produce any errors, three types of error pop up for some videos at the last step of propagation and some seems to be related to graph corruption at solve step 2 since the problematic graphs before step 2 seems to be fine after opened from Matlab on my local machine.

Note that the problem is not present in all videos, only in a subset. After rerunning all the previous steps (track, classification, etc) on the problematic videos, sometimes the problem can be solved by itself. However, I should run all the steps twice (sometimes even more) which is quite time-consuming.

Here are the three types of error messages that I get:

  1. Variable 'trjs' not found
17:25:39 -I- Loading trgraph from antrax/graphs/C4/graph_10_10.mat
Warning: Variable 'trjs' not found.
> In trgraph.load (line 887)
  In trhandles/loaddata (line 609)
  In export_single_movie (line 59)
  In antrax_mcr_interface (line 42)
Undefined function or variable 'trjs'.
Error in trgraph.load (line 888)
Error in trhandles/loaddata (line 609)
Error in export_single_movie (line 59)
Error in antrax_mcr_interface (line 42)
MATLAB:UndefinedFunction
  1. Warning: Variable 'G' not found
14:32:26 -I- Loading trgraph from antrax/graphs/C1/graph_1_1.mat
Warning: Variable 'G' not found.
> In trgraph.load (line 880)
  In trhandles/loaddata (line 609)
  In export_single_movie (line 59)
  In antrax_mcr_interface (line 42)
Reference to non-existent field 'trjs'.
Error in trgraph.load (line 886)
Error in trhandles/loaddata (line 609)
Error in export_single_movie (line 59)
Error in antrax_mcr_interface (line 42)

MATLAB:nonExistentField
  1. File might be corrupt.
14:59:40 -I- Loading trgraph from antrax/graphs/C2/graph_101_101.mat
Error using load
Unable to read MAT-file /scratch1/users/zimai.li/idol/idol_cam2/antrax/graphs/C2/graph_101_101.mat. File might be corrupt.
Error in trgraph.load (line 880)
Error in trhandles/loaddata (line 609)
Error in export_single_movie (line 59)
Error in antrax_mcr_interface (line 42)
MATLAB:load:unableToReadMatFile

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions