Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eiclpy committed Jan 6, 2020
1 parent ac2ce88 commit b3e0f01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ cd scratch/lte_cqi/
python run_online.py
```
**NOTE: Currently the DL test in python script is not uploaded, so you don't need to set up DL environment to test our module.**

**NOTE: If the program does not exit normally, you need to run freeshm.sh to release the shared memory manually.**

6 changes: 3 additions & 3 deletions example/lte_cqi/run_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ class CqiTarget(Structure):
with dl as data:
if data == None:
break
# print('data.env.wbCqi', data.env.wbCqi)
# print('data.feat.wbCqi', data.feat.wbCqi)
# Deep Learning code there
data.act.new_wbCqi = data.env.wbCqi
data.act.new_sbCqi = data.env.sbCqi
data.pred.new_wbCqi = data.feat.wbCqi
data.pred.new_sbCqi = data.feat.sbCqi
except KeyboardInterrupt:
print('Ctrl C')
finally:
Expand Down
4 changes: 2 additions & 2 deletions py_interface/py_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def __init__(self, uid, FeatureType, PredictedType, TargetType, ExtInfo=EmptyInf
class StorageType(Structure):
_pack_ = 1
_fields_ = [
('env', self.featureType),
('act', self.predictedType),
('feat', self.featureType),
('pred', self.predictedType),
('tar', self.targetType),
('ext', self.extInfo),
('isFinish', c_bool)
Expand Down

0 comments on commit b3e0f01

Please sign in to comment.