spectrumai / sip Goto Github PK
View Code? Open in Web Editor NEWSmart image processing (SIP) software based on deep neural network models
Smart image processing (SIP) software based on deep neural network models
因为网络连接不稳定,连接服务器的时候有时会突然断开,因此SIP训练到一半时训练中断,重启SIP后想接着上次的训练,此时将config文件中 to_resume_from_latest_checkpoint改为True,将resume_checkpoint_file后的文件改为最后一次训练时保存的文件后重新train classification,软件还是报错,sys.log提示为local variable "model_dir" referenced before assignment。
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.