Comments (3)
hello Overcautious,
how to run successfully?
I'm try delete dropout and weight_std, but this new error.
4112 - Runner - INFO - Using random seed: 447676
4112 - Runner - DEBUG - Building model architecture
Traceback (most recent call last):
File "C:\Users\HPDQ\anaconda3\envs\server\Scripts\sever-script.py", line 33, in
sys.exit(load_entry_point('sever', 'console_scripts', 'sever')())
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1137, in call
return self.main(*args, **kwargs)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1062, in main
rv = self.invoke(ctx)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 763, in invoke
return _callback(*args, **kwargs)
File "c:\users\hpdq\severstal-steel-defect-detection\sever\cli.py", line 37, in train
Runner(config).train(resume)
File "c:\users\hpdq\severstal-steel-defect-detection\sever\main.py", line 37, in train
model = get_instance(module_arch, 'arch', config)
File "c:\users\hpdq\severstal-steel-defect-detection\sever\main.py", line 21, in get_instance
return getattr(module, config[name]['type'])(*args, **config[name]['args'])
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\fpn\model.py", line 65, in init
weights=encoder_weights,
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders_init.py", line 64, in get_encoder
encoder.set_in_channels(in_channels, pretrained=weights is not None)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders_base.py", line 29, in set_in_channels
utils.patch_first_conv(model=self, new_in_channels=in_channels, pretrained=pretrained)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders_utils.py", line 37, in patch_first_conv
new_in_channels // module.groups,
TypeError: unsupported operand type(s) for //: 'str' and 'int'
from severstal-steel-defect-detection.
hello Overcautious,
how to run successfully?
I'm try delete dropout and weight_std, but this new error.
4112 - Runner - INFO - Using random seed: 447676
4112 - Runner - DEBUG - Building model architecture
Traceback (most recent call last):
File "C:\Users\HPDQ\anaconda3\envs\server\Scripts\sever-script.py", line 33, in
sys.exit(load_entry_point('sever', 'console_scripts', 'sever')())
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1137, in call
return self.main(*args, **kwargs)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1062, in main
rv = self.invoke(ctx)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\click\core.py", line 763, in invoke
return callback(*args, **kwargs) File "c:\users\hpdq\severstal-steel-defect-detection\sever\cli.py", line 37, in train Runner(config).train(resume) File "c:\users\hpdq\severstal-steel-defect-detection\sever\main.py", line 37, in train model = get_instance(module_arch, 'arch', config) File "c:\users\hpdq\severstal-steel-defect-detection\sever\main.py", line 21, in get_instance return getattr(module, config[name]['type'])(*args, **config[name]['args']) File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\fpn\model.py", line 65, in init weights=encoder_weights, File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders__init.py", line 64, in get_encoder
encoder.set_in_channels(in_channels, pretrained=weights is not None)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders_base.py", line 29, in set_in_channels
utils.patch_first_conv(model=self, new_in_channels=in_channels, pretrained=pretrained)
File "C:\Users\HPDQ\anaconda3\envs\server\lib\site-packages\segmentation_models_pytorch\encoders_utils.py", line 37, in patch_first_conv
new_in_channels // module.groups,
TypeError: unsupported operand type(s) for //: 'str' and 'int'
You should modify the configuration file, I have modify the file of "experiments/unet-b5.yml", them it run successfully
from severstal-steel-defect-detection.
yes,
i was trying: sever train -c experiments/unet-b5.yml
arch:
type: Unet
args:
activation: null
classes: 4
encoder_name: efficientnet-b5
encoder_weights: imagenet
in_channels: r
and then on the terminal should previous error.
I think the config = unet-b5, because i can not find config.yml. If there is something wrong, please guide me !!!
from severstal-steel-defect-detection.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from severstal-steel-defect-detection.