GithubHelp home page GithubHelp logo

adseismic.jl's People

Contributors

kailaix avatar wayneweiqiang avatar zhuwq0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

adseismic.jl's Issues

The error of run `invert_velocity_model`

Dear Ms.Zhu and Ms.xu:

I'm sorry that there are some errors when I try to invert velocity model**(example/invert_velocity_model/AcousticFWI-MarmousiModel.jl)**:

the error is showing as follows

$ julia AcousticFWI-MarmousiModel.jl 
2021-12-15 05:54:45.960087: I tensorflow/core/platform/cpu_feature_guard.cc:145] This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU instructions in performance critical operations:  SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in non-MKL-DNN operations, rebuild TensorFlow with the appropriate compiler flags.
2021-12-15 05:54:46.141280: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2903995000 Hz
2021-12-15 05:54:46.145859: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x67a2b70 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-12-15 05:54:46.146082: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version

ERROR: LoadError: MethodError: no method matching AcousticPropagatorParams(::Pair{Any, Any}; NX=177, NY=77, NSTEP=1545, DELTAX=44.76190476190476, DELTAY=44.76190476190476, DELTAT=0.003174603174603174)
Closest candidates are:
  AcousticPropagatorParams(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any) at /home/test/.julia/packages/Parameters/MK0O4/src/Parameters.jl:505 got unsupported keyword arguments "NX", "NY", "NSTEP", "DELTAX", "DELTAY", "DELTAT"
  AcousticPropagatorParams(; NX, NY, NSTEP, DELTAX, DELTAY, DELTAT, USE_PML_XMIN, USE_PML_XMAX, USE_PML_YMIN, USE_PML_YMAX, NPOINTS_PML, NPOWER, damping_x, damping_y, Rcoef, vp_ref, Σx, Σy, IJ, IJn, IJp, IpJ, IpJp, IpJn, InJ, InJn, InJp, IT_DISPLAY) at /home/test/.julia/packages/Parameters/MK0O4/src/Parameters.jl:493
  AcousticPropagatorParams(::AcousticPropagatorParams; kws...) at /home/test/.julia/packages/Parameters/MK0O4/src/Parameters.jl:569
  ...

Stacktrace:
 [1] load_acoustic_model(filename::String; inv_vp::Bool, kwargs::Base.Iterators.Pairs{Symbol, Int64, Tuple{Symbol}, NamedTuple{(:IT_DISPLAY,), Tuple{Int64}}})
   @ ADSeismic ~/.julia/packages/ADSeismic/WCz5H/src/IO.jl:99
 [2] top-level scope
   @ ~/Desktop/test/AcousticFWI-MarmousiModel.jl:35
in expression starting at /home/test/Desktop/test/AcousticFWI-MarmousiModel.jl:35

the wrong code is

ap_sim = load_acoustic_model("models/marmousi2-model-true.mat";inv_vp=true,IT_DISPLAY=0)

Im confuzed that if i comment out the kwargs in load_acoustic_model code and it will work fine:

function load_acoustic_model(filename::String; inv_vp::Bool = false, kwargs...)
    d = matread(filename)
    kwargs = Dict{Any, Any}(kwargs)
    mask = missing
    if haskey(kwargs, :mask)
        mask = kwargs[:mask]
        delete!(kwargs, :mask)
    end
    if haskey(kwargs, :vp)
        vp = kwargs[:vp]
        delete!(kwargs, :vp)
    end
    param = AcousticPropagatorParams(NX=d["nx"]-2, NY=d["ny"]-2,
                        NSTEP=d["nt"], DELTAX=d["dx"], 
                        # DELTAY=d["dy"], DELTAT=d["dt"], kwargs...)
                        DELTAY=d["dy"], DELTAT=d["dt"])
    if (@isdefined vp)
        ap_fun = x->AcousticPropagatorSolver(param, x, vp)
    else
        vp = constant_or_variable(d["vp"], trainable = inv_vp, name="vp", mask=mask)
        ap_fun = x->AcousticPropagatorSolver(param, x, vp)
    end
    @info "Successfully load acoustic model!"
    ap_fun
end

I am not good at julia, so I would like to ask you two teachers what is the reason for this problem

The error of building ADSeismic

Dear Weiqiang and Kailai:

I'm sorry that there are some errors when I build ADSeismic, the log is as follow:

julia> Pkg.build("ADSeismic")
Building Conda ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\299304989a5e6473d985212c28928899c74e9421\build.log
Building PyCall ───→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\4ba3651d33ef76e24fef6a598b63ffd1c5e1cd17\build.log
Building HDF5 ─────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\0713cbabdf855852dfab3ce6447c87145f3d9ea8\build.log
Building CMake ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\50a8b41d2c562fccd9ab841085fc7d1e2706da82\build.log
Building ADCME ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\4ecfc24dbdf551f92b5de7ea2d99da3f7fde73c9\build.log
Building ADSeismic → C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\5033bd2630a896f43ca390e053d77569202c2e45\build.log
ERROR: Error building ADSeismic, showing the last 100 of log:
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
[ Info: Changed to directory C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps/CustomOps/build
ERROR: LoadError: failed process: Process(cmd /c 'C:\Users\Keting\.julia\packages\CMake\ULbyn\deps\usr\bin\cmake.exe' --build . -j --target ALL_BUILD --config Release, ProcessExited(1)) [1]

Stacktrace:
[1] pipeline_error
@ .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:440
[3] run
@ .\process.jl:438 [inlined]
[4] make()
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\extra.jl:94
[5] #3
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:9 [inlined]
[6] require_library(func::var"#3#4", filename::String)
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\toolchain.jl:217
[7] top-level scope
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8
[8] include(fname::String)
@ Base.MainInclude .\client.jl:444
[9] top-level scope
@ none:5
in expression starting at C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8

Full log at C:\Users\Keting.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\5033bd2630a896f43ca390e053d77569202c2e45\build.log
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
[2] (::Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec})()
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1048
[3] withenv(::Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, ::Pair{String, String}, ::Vararg{Pair{String, B} where B, N} where N)
@ Base .\env.jl:161
[4] (::Pkg.Operations.var"#109#113"{String, Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec})()
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1546
[5] with_temp_env(fn::Pkg.Operations.var"#109#113"{String, Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec}, temp_env::String)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1448
[6] (::Pkg.Operations.var"#108#112"{Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String})(tmp::String)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1521
[7] mktempdir(fn::Pkg.Operations.var"#108#112"{Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String}, parent::String; prefix::String)
@ Base.Filesystem .\file.jl:729
[8] mktempdir(fn::Function, parent::String) (repeats 2 times)
@ Base.Filesystem .\file.jl:727
[9] sandbox(fn::Function, ctx::Pkg.Types.Context, target::Pkg.Types.PackageSpec, target_path::String, sandbox_path::String, sandbox_project_override::Pkg.Types.Project)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1487
[10] build_versions(ctx::Pkg.Types.Context, uuids::Vector{Base.UUID}; verbose::Bool)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1029
[11] build(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, verbose::Bool)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:910
[12] build(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; verbose::Bool, kwargs::Base.Iterators.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:900
[13] build(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:80
[14] build(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:78
[15] #build#71
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:76 [inlined]
[16] build
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:76 [inlined]
[17] #build#70
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:75 [inlined]
[18] build(pkg::String)
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:75
[19] top-level scope
@ REPL[4]:1

I think the reason for the error is that there is a problem with the encoding method of tensorflow. But I have no idea about the solution. Do you konw how to solve it?

Thank you very much!!

Keting Guo

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.