Coder Social home page Coder Social logo

sip's People

Contributors

spectrumai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sip's Issues

继续训练时报错

因为网络连接不稳定,连接服务器的时候有时会突然断开,因此SIP训练到一半时训练中断,重启SIP后想接着上次的训练,此时将config文件中 to_resume_from_latest_checkpoint改为True,将resume_checkpoint_file后的文件改为最后一次训练时保存的文件后重新train classification,软件还是报错,sys.log提示为local variable "model_dir" referenced before assignment。

Exception happens when open config file

My question is:
I am now doing the example in SIP soft: First example: Process Sentinel-1 SAR image for sea ice classification,I have finished step1 step2 step3, and I Draw training, validation and test samples by myself,When I do step4, Get masks --> config_os.yaml --> select the default csv file, error occurred,The following figure shows the error message
捕获
The message in sys.log:
---------------The divider------------------------

2021-09-26 21:10:56,775 INFO : =========================2021-09-26 21:10:56=============================
2021-09-26 21:10:56,775 INFO : GUI Helper initialize ...
2021-09-26 21:10:56,832 ERROR : Exception happens when open config file
Traceback (most recent call last):
File "", line 163, in produce_mask
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml_init_.py", line 142, in full_load
return load(stream, FullLoader)
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml_init_.py", line 114, in load
return loader.get_single_data()
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 36, in get_single_node
document = self.compose_document()
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\parser.py", line 98, in check_event
self.current_event = self.state()
File "E:\ProgramData\Anaconda3\envs\py36\lib\site-packages\yaml\parser.py", line 439, in parse_block_mapping_key
"expected , but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
in "E:/SIP-master/SIP/config/config_win.yaml", line 618, column 5
expected , but found ''
in "E:/SIP-master/SIP/config/config_win.yaml", line 699, column 6
--------------------The divider--------------------------------------
How to deal with it?

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.